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
Dharmesh Sharma
NA
905
927.1k
how to set index of dropdownlist
Jan 12 2012 5:08 AM
hello,
in my webpage i boud dropdowdlist by sqldatasource.
now i wan to set the selected item 3 of this dropdwonlist
for example:dropdownlist bound with sqldatasource and dropdownllist has a,b,c,d
now i want to search the item in dropdownlist b then select b on page load
how i do that my code not working
i use this code on page load
dropdownlist.SelectedIndex=convert.toint32(dropdownlost.items.findbytext("b").text);
not working
Reply
Answers (
13
)
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
Difference between finialize, destructor and dispose