<asp:DataGrid ID="Grid" runat="server" PageSize="5" AllowPaging="True" DataKeyField="FirstName" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"> <Columns> <asp:BoundColumn HeaderText="Name" DataField="FirstName"></asp:BoundColumn> <%--Your other columns here--%> </Columns> </asp:DataGrid>
Thanks, A2H My Blog
Login to post response