<%@ Page Theme="SkinFile" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <script src="Scripts/jquery-1.4.3.min.js" type="text/javascript"> $(document).ready(function () { $('#<%= GridView1.ClientID %> tbody tr').mouseover(function() { $(this).addClass('highlightRow'); }).mouseout(function () { $(this).removeClass('highlightRow'); }).click(function () { $(this).toggleClass('selectedRow'); }); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:GridView ID="GridView1" runat="server" BackColor="White" Font-Size="10" Font-Names="Verdana" BorderColor="#000000" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" Width="400px" CellSpacing="0" GridLines="Horizontal" SkinID="gridviewSkin" > </asp:GridView> </asp:Content>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)