Im a VB.NET beginnger, can anyone tell me how I can dynamically add a div table row or how I can loop a section of html? thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m making a few assumptions about what your doing (such as you’re using ASP.Net) but you can use the Repeater control to loop a section of HTML.
But of course you’ll have to databind the repeater for it to loop through the items that it’s databound to. You could also do an inline loop:
You’ll have to put the for loop into VB syntax of course.