<asp:GridView ID="GridView4" runat="server" HorizontalAlign="Center" AutoGenerateColumns="False" AllowSorting="true" style="border-color:Yellow; font-size:small; top: 3px; left: 2px; position: absolute; height: 42px; width:100px" PageSize="5" allowpaging="true" onselectedindexchanged="GridView4_SelectedIndexChanged" > <RowStyle HorizontalAlign="Center" /> <Columns > <asp:BoundField DataField="highlights" HeaderText="highlights" SortExpression="highlights"> <HeaderStyle Width="100px" /> <ItemStyle Width="100px" /> <ItemStyle Height="67px" /> </asp:BoundField> </Columns> <SelectedRowStyle BackColor="Green" /> <HeaderStyle BackColor="red" /> <AlternatingRowStyle BackColor="#99CCFF" HorizontalAlign="Center" /> </asp:GridView>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)