@angshujit:
it depends on ur DB design
are u storing countryid or country name in user_master table?
better way is to store countryid of selected country in the matser table. To load previous values select all values from table and get it in a datatable suppose dtMember
u have to bind countries in dropdownlist like:
lstCountry.DataSource = dtCountries;
lstCountry.DataTextField = "CountryName"; //name of column of data table
lstCountry.DataValueField = "CountryID" //name of column of data table
lstCountry.DataBind();
lstCountry.Items.Insert(0, new ListItem("---Select---"));
now while loading the users u can sleect the country from dropdownlist using the id of country stored in user_master table
so try this
lstCountry.SelectedValue = ---- // country id u fetched from member's table
Regards,
Rashida Jabeen
http://www.akaas.net