I'm trying to write tooltip on labels..
My page contain many labels...so there related tooltip is stored in database..
I'm bringing tooltip from DB.. for every label
Private Function getToolTipFromDB() As DataTable
Dim dt As DataTable = AMSQL.DataTable("SELECT * FROM tooltip", "tooltip")
Label2.ToolTip = dt.Rows(0)(3).ToString()
Label3.ToolTip = dt.Rows(1)(3).ToString()
Label13.ToolTip = dt.Rows(2)(3).ToString()
Label26.ToolTip = dt.Rows(3)(3).ToString()
Label7.ToolTip = dt.Rows(4)(3).ToString()
Label16.ToolTip = dt.Rows(5)(3).ToString()
Return dt
End Function