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
Loading
del etePosted May 6, 2008, 11:45 PM
SeemaPosted May 6, 2008, 7:29 AM
Hi
Hashtable can be used .
hashtable ht= new hashtable();
ht,add("userid",username
Hope so It may help you.