how would i implement dropdownlist in gridview using c#
Answer Posted / indra
<asp:GridView ID="GridView1" AutoGenerateColumns ="false"
Font-Size=Small Font-Names="Verdana" GridLines="None"
runat="server">
<Columns>
<asp:TemplateField HeaderText="Customer name" >
<ItemTemplate>
<asp:DropDown ID="DDcustname"
runat="server"></asp:DropDown>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Is This Answer Correct ? | 15 Yes | 8 No |
Post New Answer View All Answers
What is the difference between DataReader and DataSet in ADO.NET?
What is ado.net components?
How will you fill the gridview by using datatable object at runtime?
What are advantages of microsoft-provided data provider classes in ado.net?
Is ado.net dead?
Which architecture does Datasets follow?
What is ole access?
What is maximum pool size in ado.net connection string?
What does executenonquery () method return?
Which provider is used to connect ms access, oracle, etc…?
How do you merge 2 datasets into the third dataset in a simple manner?
What are the different ado.net namespaces are available in .net?
How to Read, Add, Update and Delete record in Entity Framework ?
Difference between sqlcommand and sqlcommandbuilder?
What is the use of SqlCommand object?