public void BindDropDown() { try { iSiteMasterClient SiteMasterClient = new iSiteMasterClient(); CustomProfile profile = CustomProfile.GetProfile(); ddlSite.DataSource = SiteMasterClient.GetSiteDtls(profile.DBConnection._constr); ddlSite.DataBind(); ListItem lst1 = new ListItem(); lst1.Text = "-Select-"; lst1.Value = "0"; ddlSite.Items.Insert(0, lst1); } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, this, "Site Master", "pageSave"); } finally { } }