how would i implement dropdownlist in gridview using c#
Answers were Sorted based on User's Feedback
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 |
What are the uses of Stored Procedure?
What are the functions of oledbdataadapter?
Which is faster dataset or datareader?
What is the difference between data grid and data repeater?
Which type of database is used while processing dynamic database?
What is disconnected architecture in ado.net?
explain connection less and with connection?diference between data reader,data set,data adapter? can we use data reader,data set in a single application? if yes explain with simple code,if no explain?
What is the use of Dataview?
can u tell me the why ADO does not support xml..
What are advantages of microsoft-provided data provider classes in ado.net?
What are the advantages of using datalist?
What is acid in ado.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)