Click here to Skip to main content
15,913,669 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a datable with 50 rows and has memberno Column. I am trying to get an array that holds only the memberno like:
Posted
Comments
Mantu Singh 4-May-12 3:50am    
pls elaborate more as to what prob u face
Member 8405530 4-May-12 4:15am    
in repeater control i have binded company names and the address deatils.and there is checkbox in the repeater control....so i am randomly selecting the company names using checkbox ....
for example let us say i am having 50 company names in the repeater control...in that 50, i am selecting say 5 items from it ...i dont know where to store the id or member no of the company....any arraylist concept should be used...Help me Please as soon as possible.....Thanks in advance

1 solution

Have a look at the DataTable's Select[^] method.
 
Share this answer
 
Comments
Member 8405530 4-May-12 4:17am    
thanks.......
in repeater control i have binded company names and the address deatils.and there is checkbox in the repeater control....so i am randomly selecting the company names using checkbox .... for example let us say i am having 50 company names in the repeater control...in that 50, i am selecting say 5 items from it ...i dont know where to store the id or member no of the company....any arraylist concept should be used...Help me Please as soon as possible.....Thanks in advance

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900