Mahesh Babu

Mahesh Babu

  • NA
  • 118
  • 30.5k

How to add Dynamic columns to my table in asp.net

Aug 31 2018 3:44 AM
How to add Dynamic columns to my table in asp.net
 
below u can find the code 
 
<asp:gridview id="CustomersGridView" datasourceid="SqlDataSource1"
EmptyDataText ="No data available." runat="server" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="id" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:BoundField DataField="id" HeaderText="id" />
<asp:BoundField DataField="id" HeaderText="name"/>
</Columns>
</asp:gridview>
 
please help me this  

Answers (1)