how would i implement dropdownlist in gridview using c#
Answer Posted / 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 |
Post New Answer View All Answers
Explain the overview of ado.net architecture?
What is ado control?
What is disconnected architecture in ado.net?
What is sqlconnection and sqlcommand?
What is difference between datatable and dataset?
What is method to get XML and schema from Dataset? getXML() and get Schema ()
What Is Difference Between Ado And Ado.net?
How would you connect to database using .NET?
What are all the different authentication techniques used to connect to MS SQL Server?
What is the DataTableCollection?
Give an example of a .net application which connects to microsoft access database using ado.net classes.
How do you update a dataset in ado.net and how do you update database through dataset?
What is the use of SqlCommand object?
What are the usages of the command object in ado.net?
Which is the feature of ado.net?