TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bob Herrmann
NA
5
4.1k
Using a repeater control, how can I dynamically add <div>?
May 24 2017 7:17 AM
I have a web page that is basically a dashboard. It contains reports developed with a product named WebFocus. I do not create the reports. Others do that. Each WebFocus report seems to need it's own <div> statement. It should look like this:
<div id="Dash1" runat="server"></div>
The reports are stored in a SQL table. So I want to read thru this table and create the reports dynamically. So if there are 5 reports, I want 5 lines like above but each id will be Dash1, Dash2, Dash3, Dash4, and Dash5.
I thought about using a repeater control but I wasn't sure how to dynamically build the <div> statements. Or is there a better way to do this?
Thanks in advance.
Reply
Answers (
1
)
How to Create sub projects in Main project
C# program to read multiple barcodes in pdf