<div style="width: 100%; height: 400px; overflow: auto" > <asp:GridView ID="Gridview1" runat="server" AllowSorting="True" AutoGenerateColumns="False" Width="100%" GridLines="Horizontal" BorderStyle="Solid" OnRowDataBound ="Gridview1_OnRowDataBound"> <AlternatingRowStyle BackColor="White" /> <columns> <asp:boundfield DataField="Columm1" HeaderText="Columm1"></asp:boundfield> <asp:boundfield DataField="Columm2" HeaderText="Columm2"></asp:boundfield> <asp:boundfield DataField="Columm3" HeaderText="Columm3"></asp:boundfield> <asp:boundfield DataField="Columm4" HeaderText="Columm4"></asp:boundfield> <asp:boundfield DataField="Columm5" HeaderText="Columm5"></asp:boundfield> <asp:boundfield DataField="Columm6" HeaderText="Columm6"></asp:boundfield> <asp:boundfield DataField="Columm7" HeaderText="Columm7"></asp:boundfield> <asp:boundfield DataField="Columm8" HeaderText="Columm8"></asp:boundfield> <asp:boundfield DataField="Columm9" HeaderText="Columm9"></asp:boundfield> </columns> <EditRowStyle BackColor="#2461BF" /> <HeaderStyle BackColor="#507CD1" Font-Bold="False" ForeColor="Black" BorderStyle="Solid" BorderWidth="2px" /> </asp:GridView> </div><br />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)