forum.venkateswarlu.net
      Register      Login
How to merge to datatable into a dropdownlist?

1 replies to this topic

Aisha Bobby #1
Member
96 Points
Posted on 31 Oct 2013 11:19 AM IST

Here Im using two datables to concate two different column values into dropdown...

How to do?

Regards,

Aisha

 
C#.NET     930 views     Reply to this topic
Cherukuri Venkateswarlu #2
Member
140 Points
Replied on 18 Nov 2013 02:21 PM IST By default for a DropDownList we cannot show two columns by concatenating. 
If you want to show two columns in DDL, first create a data-table with one column and then add two columns-data by concatenating into that data-table. Then you can bind the data-table to dropdownlist.

Hope this will helps you.

Thanks,
Venkateswarlu Cherukuru
Administrator
 
Reply to this topic