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
Bhabani prasad Dash
NA
244
44.6k
dropdownlist data bind
May 22 2013 12:35 AM
protected void DDLstate_SelectedIndexChanged(object sender, EventArgs e)
{
cmd = new SqlCommand("select City from Mst_City where State='"+DDLstate.SelectedValue+"'",con);
da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds, "Mst_City");
DDLcity.DataSource = ds;
DDLcity.DataBind();
}
here in above code data retrived when am debugging but it will show system.data.datarowview in dropdownlist when am change in state from state dropdownlist
Reply
Answers (
3
)
Making your own retail system
create Button and use it in toolbox