Adding a DropDownList to DataGrid dynamically in runtime

csharp Albania
  • 12 years ago

    Hi everybody Big Smile [:D],

    I've got a problem with a datagrid. I'm trying to add programmatically a dropdownlist to a datagrid. But I have a problem. The dropdownlist will have different items for different datagrid rows, so I have to change the datasource of the dropdownlist for each item of the datagridAngry [:@]. I don't know how I can achieve this, maybe in the datagrid_ItemDataBound Event.

    Anyway, can someone give me a solution to this problem?Time [O]

    Thank you in advance




  • 12 years ago

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“An idiot with a computer is a faster, better idiot” - Rich Julius