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 is oledb driver?

0 Answers  


How many types of data table are in SQL.NET

4 Answers   Chetu India, HCL, MAHINDRA,


What are all the different methods under sqlcommand?

0 Answers  


Where do you store connection string ?

3 Answers   Digital GlobalSoft,


Explain the overview of ado.net architecture?

0 Answers  






Explain different methods and Properties of DataReader which you have used in your project?

2 Answers  


How to Handle the exceptions in Sqlsrver2000

3 Answers   SQL Star,


What are the steps to connect to a database?

0 Answers  


If a table contains 20000 records. In a page at each time 100 records to be displayed.

0 Answers  


What providers does ado.net uses internally ?

3 Answers   Digital GlobalSoft,


What provider ado.net use by default? Explain the role of data provider in ado.net?

0 Answers  


What we do with the object of ado.net dataset after using it?Can we dispose it or can we set it nothing?Is it must or not?

4 Answers   SVI,


Categories