2
Answers

C# dataset table column into an array

del ete

del ete

16y
2.3k
1
Hi, i need to populate an array[] with dataset table row or a table column
in my table there is "userId" and "userName" column ... i have this in dataset but i want to populate an array with "userName" in a listbox but not the "userId" ..
any suggestions or sample code would be helpful
thanks
Answers (2)
0
del ete

del ete

NA 8 0 16y
Thanks seema i will try it
0
Seema

Seema

NA 6 0 16y

Hi

Hashtable can be used .

hashtable ht= new hashtable();

ht,add("userid",username

Hope so It may help you.