Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound Dim strToolTip As String = "" If e.Row.RowType = DataControlRowType.DataRow Then Dim s1 As String Dim drno As String = e.Row.Cells(3).Text s1 = "SELECT Remarks FROM DR_Status where drno = " & drno dt = dp.data_table(s1) For i As Integer = 0 To dt.Rows.Count - 1 strToolTip = dt.Rows(i)("Remarks").ToString() Next e.Row.ToolTip = strToolTip End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)