1
Answer

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

Mahesh Babu

Mahesh Babu

6y
489
1
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)