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
Eamonn
NA
3
1.4k
Dropdownlist
Aug 27 2013 11:06 AM
hi Guys
i am using the following code to add elements to a dropwdownlist
DDL3.Items.Add(new ListItem("Full Time","10")); i this piece of code as u can see ive added the name Fulltime which has and index value of10 this is stored in a database. however full time has 2 index values it can be either 10 which i have stated or it could also be 50 any suggestion of how to add this to the list. ive tried the following statemnt but its not the correct syntax
DDL3.Items.Add(new ListItem("Full Time","10"||"50");
Reply
Answers (
3
)
Efficient way to validate data of DataTable
change system numbers in visual studio or c# only??