protected void gvDetails_RowDataBound(object sender, GridViewRowEventArgs e) { DataControlRowType rtype = e.Row.RowType; if (rtype == DataControlRowType.DataRow && rtype != DataControlRowType.Footer && rtype != DataControlRowType.Separator && rtype != DataControlRowType.Header && rtype != DataControlRowType.Pager) { Label lbl = (Label)e.Row.FindControl("lblremark"); Label lbl1=(Label)e.Row.FindControl("empname"); e.Row.Cells[5].ToolTip = lbl.Text; e.Row.Cells[0].ToolTip = lbl1.Text; }
Label lbl = (Label)e.Row.FindControl("lblremark"); Label lbl1=(Label)e.Row.FindControl("empname"); e.Row.Cells[5].ToolTip = lbl.Text; e.Row.Cells[0].ToolTip = lbl1.Text;
myObject.ToolTip = "Line 1\r\nLine 2\r\nLine 3";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)