Vignesh Kumar

Vignesh Kumar

  • NA
  • 1k
  • 416.3k

Can anyone help me in grid animation

Jun 27 2013 2:51 AM
 Hi,

I have a grid and I need to do a simple animation for the below grid.

<%
@ Page Language="C#" AutoEventWireup="true" CodeBehind="GridAnimate.aspx.cs" Inherits="GridANIMATE.WebForm1" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title></title>
</
head>
<
body>
<form id="form1" runat="server">
<div>

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSourceA">
<Columns>
<asp:BoundField DataField="PersonID" HeaderText="PersonID"
SortExpression="PersonID" />
<asp:BoundField DataField="LastName" HeaderText="LastName"
SortExpression="LastName" />
<asp:BoundField DataField="FirstName" HeaderText="FirstName"
SortExpression="FirstName" />
<asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
<asp:BoundField DataField="Office" HeaderText="Office"
SortExpression="Office" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSourceA" runat="server"
ConnectionString="<%$ ConnectionStrings:AdventureWorks2008ConnectionString %>"
SelectCommand="SELECT [PersonID], [LastName], [FirstName], [City], [Office] FROM [Persons]">
</asp:SqlDataSource>

</div>
</form>
</
body>
</
html>

Answers (5)