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 is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?
What is reference by value how does it works in .net?
What are datareaders?
Write steps of retrieving data using ado.net ?
What is the role of the dataset object in ado.net?
what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?
How would you connect to a database by using .NET?
What two types of data providers does ADO.NET supply? What determines which one you should use?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
What do you mean by ‘batch updates’?
How to call the SQL commands asynchronously in ADO.NET version 2.0
How to add a javaScript function in a datagrid?
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)