<pre><pre> <div> <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1"> <Columns> <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True" /> <asp:BoundField DataField="Name" HeaderText="NAME" /> <asp:BoundField DataField="Address" HeaderText="ADDRESS" /> </Columns> </asp:GridView> <asp:Label ID="Label1" runat="server" Text="Click the Button To Bind the Data's in a Gridview"></asp:Label><br /> <br /> <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click"></asp:Button> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)