Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the web.config file in asp?

1166


What is a multilingual website?

998


How do we sort the data from a dataset?

968


What role “#&&” plays in a querysting?

1018


What is the differences between a primary key and a unique key in sql server?

1078


What a diffgram is, and a good use for one?

995


What is css in asp.net?

1075


Explain method to handle error using HttpError in Web API?

1059


What is the use of placeholder control? Can we see it at runtime?

1073


How does exception management works in ASP.NET?

1151


Explain login controls.

1133


What is the concept of postback in asp.net?

1043


What is the life cycle of an asp.net page?

925


What are HTTP handlers in ASP.NET?

1101


How to turn off cookies for a page?

986