private void City_GetAll() { Business.HR.EmployeeMaster objEmployeeMaster = new Business.HR.EmployeeMaster(); DataTable dt = objEmployeeMaster.City_GetAll(); if (dt.Rows.Count > 0) { ddlCity.DataSource = dt; ddlCity.DataBind(); } ddlCity.InsertSelect(); }