Suppose,we have a Gridview called grid_project_details as below:-
<asp:GridView ID = "grid_project_details" runat = "server"
OnRowCreated = "grid_project_details_RowCreated">
Now in the OnRowCreated
event we have to write below code:-
protected void grid_project_details_RowCreated(object sender, GridViewRowEventArgs e)
if (e.Row.RowType == DataControlRowType.DataRow)
//On Mouse Over Highlight Row set row color to yellow
//On Mouse out restore default row color i.e. white color
So,when we point our mouse on any row,color will be yellow and point out,then reset color as white.