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

How do you implement locking concept for dataset?

0 Answers  


What are the disadvantages of using datalist?

0 Answers  


Compare Data Reader & Dataset in ado.net?

0 Answers   MaxSolPro,


What is the difference between connected environment and a disconnected environment?

2 Answers  


How to Read, Add, Update and Delete record in Entity Framework ?

0 Answers  


What are the important features of ado.net 2.0?

0 Answers  


What are the two fundamental objects in ADO.NET?

8 Answers   Ksb, TCS,


Which provider is used to connect ms access, oracle, etc…?

0 Answers  


how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

1 Answers   Ford,


What is connection string?

0 Answers  


describe about the ado.net object model

4 Answers   TCS,


What is ado in agriculture?

0 Answers  


Categories