Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Adding TableRow Object to Table

Reply
Thread Tools

Adding TableRow Object to Table

 
 
vishalbahl@gmail.com
Guest
Posts: n/a
 
      05-03-2007
Hi,

I have a TableRow object which contains some cells and i want to add
this TableRow object into another Table n number of times based on the
count i receive from DB.

I am doing something like this

oRow object contains all the cells that needs to be added oTable

For iLoop = 0 to dtTable.rows.count - 1
Dim tmpRow as New TableRow

tmpRow = oRow
oTable.rows.add(tmpRow)
Next

The above code doesn't produce any error but its adding only one row
and that is last row.

Can someone help me in this one.

Regards,
Vishal

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
table in tablerow Harry ASP .Net 1 05-07-2004 05:15 PM
Span in an ASP TableRow Coleen ASP .Net 2 01-26-2004 11:57 PM
TableRow/TableCell Serverside Q George Durzi ASP .Net 2 11-05-2003 06:48 PM
Click Event for TableRow? Steve - DND ASP .Net 3 07-31-2003 02:40 PM
Simply Displaying Information From TableRow frank ASP .Net 0 07-11-2003 04:10 PM



Advertisments