how would i implement dropdownlist in gridview using c#

Answers were Sorted based on User's Feedback



how would i implement dropdownlist in gridview using c#..

Answer / 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

how would i implement dropdownlist in gridview using c#..

Answer / guest

using item template

Is This Answer Correct ?    9 Yes 4 No

Post New Answer

More ADO.NET Interview Questions

What does connection string consists of ?

4 Answers   Digital GlobalSoft,


what is sql Injection?

4 Answers   Microsoft,


what is typed and untyped dataset

3 Answers  


Explain the architecture of ado.net?

0 Answers  


What is the difference in an abstract class and an interface?

0 Answers  






What is the difference between oledbreader and datasetwhile connecting?

1 Answers  


How can we load multiple tables in a dataset?

0 Answers  


Explain the difference in record set and dataset?

0 Answers  


What are the 4 types of classes in ADO.NET?

5 Answers  


What is an ado connection?

0 Answers  


Explain executenonquery?

0 Answers  


How to sort the data in Datatable

2 Answers   NetProphet,


Categories