1. I have two dropdowns one as District and other as Local.
After user selecting district, based on that local need to be displayed in dropdown.
My.code
ddlDistrict.SelectedValue = ceba.DistrictID.ToString();
ddlLocal.SelectedValue = ceba.LocalMunicipalityID.ToString();
Its working fine .
But again when im trying to retrive user entered data from antother page only District data is displaying but not local data in gridview.
Here is the code
gvCeba.DataSource = from ceba in cebalist
orderby ceba.Cebaid
select new
{
DistrictMunicipalityName = ceba.Const_DistrictMunicipality.DistrictName,
LocalMunicipalityName = ceba.Const_LocalMunicipality.LocalMunicipalityName
...
Go to the complete details ...