I need to add page content dynamically reading from the database. The following is just a draft code
<div>
<asp button>
< asp label>
</div>
Now let's say I read an ID from the DB as 1 then ill assign one button with id=1 then likewise reading through the database I need to display divisions for each iteration of the data set read.
How am I possible to do it?
Just like creating a feed with buttons like Facebook Details images are displayed for each separate posts
I want something like this
while(reader.read())
{<div><label><label><div>
}
OutCome should be
Name ABC
Country B
OK Cancel
Name QWE
Country L
OK Cancel