Introduction: In this post I will explain how we can highlight the Gridview row on mouse hover in Asp.net.
Add the below mention style in Head tag of .aspx page:
After that add the Cssclass and Rowstyle-Cssclass in Gridview as shown below:
<asp:GridView ID="grdstudentdetail" runat="server" AutoGenerateColumns="False" CssClass="Hover" RowStyle-CssClass="Hover"
Now run the project and check the result.
Related Articles on Gridview:
ØHow to use Fileupload control in Gridview inAsp.net
If yes post your comment to admire my work. You can like me on Facebook, Google+, Linkedin and Twitter via hit on Follow us Button and also can get update follow by Email.
Is it helpful?
What do you think about this article?
If you found this article useful, please share and follow on Facebook, Twitter, Google Plus and other social media websites. To get free updates subscribe to newsletter. Please put your thoughts and feedback in comments section.