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
Nidadavole Chowdary
NA
28
20.1k
datavaluefield dropdownlist
Apr 18 2014 7:22 AM
i want to change dropdownlist 'datavaluefield' dynamically.
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
sle_1.Text = DropDownList1.SelectedValue.ToString();
DropDownList1.DataValueField = "company";
sle_2.Text = DropDownList1.SelectedValue.ToString();
}
i have set the dropdownlist1.datavaluefield="agent_name" in pageload.
am getting 'agent_name' in textbox 'sle1_1' and textbox 'sle_2'
but my requirement is afte 'sle_1.text' am trying to change datavaluefield i want to print 'company' in sle_2
please help me
Reply
Answers (
2
)
How we can do masked textbox in c# windows application ?
How to appear image and disappear after 5 seconds?