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 |
Does executenonquery return a value?
what is the criteria of selection in sbi interview?
1 Answers BCS, State Bank Of India SBI,
How to identify the controls which can be used for binding data?
What is @@rowcount and with small code snippet explain the usage?
Define ado.net?
List the 4 common ado.net namespaces?
What is full form of ado?
how to add a selected row of a gridview to another gridview without reloading the page??
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
Explain how to create dynamic gridview?
Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.
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?
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)