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
scampercat
NA
189
0
Loading checkbox list
Oct 23 2011 2:46 PM
I am adding a checkboxlist control to a new asp.net 2010 web form page. I want a header to showup on the control. For this to occur, I am thinking of having the first now in the column to be the header row. The checkboxlist control will be loaded with data from the database with code. However to load this first row with 'header' datq, i am wondering how you suggest I code it? Initially would I load the checkbox list control to look like the following before the control is loaded with data dynamically:
<asp:CheckBoxList ID="CheckBoxList1" runat="server">
<asp:ListItem>cCompany Name</asp:ListItem>
</asp:CheckBoxList>.
If not, what would you suggest I try?
Also, can you tell me any other way you suggest I add a header row to the checkbox list control?
Reply
Answers (
3
)
Collection class
Arrays