Adding TableRow Object to Table

V

vishalbahl

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top