View Single Post
  #1 (permalink)  
Old December 19th, 2006, 02:52 AM
Byock Byock is offline
Authorized User
Join Date: Aug 2005
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Byock
Default how to loop through a div tag?

I have a div tag where i have a table (somewhat like a datagrid but not a datagrid)...
<div ID=DivItems runat="server"/>

the field itmes in the table are from the database except for the the table have the following columns: checkbox, USerID, Name, Address, contact number...

So when i clcik the checkbox, i should be selecting that particular row...i have to get the UserID, NAme, Address and COntact number...and put this information in a listbox....So if i have selected all or ticked all the checkboxes, i need to be able to select all the data in the table...and place all this information in a listbox....

So how will i loop through all the rows and get all the items in each rows?

Please i need your help...Thanks

Reply With Quote