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
Christian Nwamba
NA
234
75.5k
Working with Lists
Apr 10 2014 5:34 AM
public static List<SelectListItem> Title()
{
List<SelectListItem> items = new List<SelectListItem>();
items.Add(new SelectListItem { Text = "MR", Value = "" });
items.Add(new SelectListItem { Text = "MRS", Value = "" });
return items;
}
Please in the above code. Is there any possible way to automatically populate the value with the the vallue of the Text. Thanks
Reply
Answers (
6
)
IEnumerable and IComparable
split method of 2,1-5.