manishsawant
MIS
Hi,
I have a dropdownlist which i am populating at the page_load with countries. The same page is used for entering new records as well as updating existing records. So when i search for a particular id it takes me to this form and existing record are loaded in the controls of the page. At page_load countries are already loaded in a dropdownlist. What i want is to display the selected id's country rather then using ddl.selectedItem.Text = dr["Country"].toString(). This will add one more record rather than selecting an existing record. Can this be possible without a for loop.
Thanks,
Manish
I have a dropdownlist which i am populating at the page_load with countries. The same page is used for entering new records as well as updating existing records. So when i search for a particular id it takes me to this form and existing record are loaded in the controls of the page. At page_load countries are already loaded in a dropdownlist. What i want is to display the selected id's country rather then using ddl.selectedItem.Text = dr["Country"].toString(). This will add one more record rather than selecting an existing record. Can this be possible without a for loop.
Thanks,
Manish