One Listbox showing all cities. If you select one city in
list box the information related to that particular city
should be displayed in Datagrid . How do you do that?
Answer Posted / yogaraj i
protected void ddlcity_SelectedIndexChanged(object sender,
EventArgs e)
{
if (ddlcity.SelectedValue == "Any of the city name")
{
DataSet ds = GetUserInfo();
GridviewCitycity.DataSource = ds;
GridviewCity.DataBind();
}
}
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
How can we communicate with each server in N-tier Architecture? and what are the methods?
What do you mean by authorization?
What is the difference between visual basic and asp.net?
What are the Types of objects in ASP
Explain the difference between globalization and localization techniques
Is post back property in asp net?
Explain the asp.net mvc request life cycle? : asp.net mvc
Differentiate between a hyperlink control and a linkbutton control.
What is work flow gen? how can it will work with .Net?
What is server infrastructure?
How to fetch a data from one table to another table in asp.net ?
What is the difference between runtime version and version?
Why do we need a web application session?