By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 974 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

Adding rows to the table

P: n/a
I have button on page and I would like to dynamically add new row to the
table every time, the user clicks the button.

Private Sub btnOkST_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnOkST.Click
Dim vrstica As New HtmlTableRow
Dim stolpec As New HtmlTableCell

stolpec.InnerText = "TEST"

End Sub

This adds the row to the table only the first time, when user click the

If the user click more times nothing happens.

Then I would like to add the button into the added row, and when user clicks
that button, I would like that row dissapeared.

Any example?

Thank you,

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.