Click here to Skip to main content
16,019,764 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
.items are selected in repeatercontrol using checkbox...so how to get this checked (id or member no )from the datatable to datarow ..Please give me idea
Posted

1 solution

DataRow represents a row in DataTable. Look here: MSDN: DataRow Class[^]

Sample:
C#
foreach(DataRow dr in myTable.Rows)
{
   // dr id the datarow with data
   // dr["myCokumnname"] has value
   // dr[0] has value for column 0
}
 
Share this answer
 
Comments
Member 8405530 3-May-12 10:23am    
Thank u
Sandeep Mewara 3-May-12 11:31am    
Welcome.
VJ Reddy 4-May-12 0:05am    
To the point. 5!
Sandeep Mewara 4-May-12 1:21am    
Thanks. :)

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