Forums - C# Corner

Forum guidelines
anup daware

anup daware

  • 0
  • 31
  • 0

How to Populate Dropdownlist in Datagrid Dynamically?

Mar 24 2006 5:25 AM

Hi group,

I am using a Datagrid with Dropdown, and the values which I have to show in drop are derived from output of a query so I cant use DataSource directly to populate the Dropdown and cant even hardcoad the Listitems in dropdown.
These populated entries are also supposed to be used in an Insert Query.

This is how I have added the dropdown in Datagrid,


                 Width="150px">' DataTextField="X_VALUE">



Please suggest me how to do this dynamically or is there any other way to do this?
(I am using ASP.NET 1.1)

Thanks and Regards,
Anup


Answers (1)

techbash 2016

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!