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
Renjith V S
NA
317
66.2k
Drop down list default name as "select"
Apr 22 2014 2:50 AM
Hey,
I have lots of drop down list in my project . Here I need use "select" on page load to the drop down list and also when I could not select anything from the list and press submit button, a null value should be send to the data base. Below is my code:
ddlCountry.Items.Insert(0, new ListItem(string.Empty, string.Empty));
ddlCountry.SelectedIndex = 0;
In this a blank is shown in drop down list, I need "select" word on that instead.
Reply
Answers (
9
)
putting textbox on a picture
how can implement the desktop application?