<asp:GridView ID="GV" runat="server" AutoGenerateColumns ="false" > <Columns> <asp:TemplateField Visible="true" HeaderText ="ID"> <ItemTemplate> <asp:Label ID="id" runat="server" Text="<%#Eval("123")%>"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText ="Name" Visible ="true" > <ItemTemplate > <asp:Label ID="Name" runat="server" Text="<%#Eval("123")%>"> </asp:Label> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)