private void ddl_Branch_state_SelectedIndexChanged(object sender, EventArgs e)
        {
            //if (ddl_Branch_state.SelectedIndex > 0)
            //{
            //    dbc.BindDistrict(ddl_Branch_district, int.Parse(ddl_Branch_state.SelectedValue.ToString()));
            //}
            //else
            //{
            //    //ddl_Branch_district.SelectedIndex = 0;
            //    //dbc.BindDistrict(ddl_Branch_district, int.Parse(ddl_Branch_state.SelectedValue.ToString()));
            //}

            if (ddl_Branch_state.SelectedIndex > 0)
            {
                int value = int.Parse(ddl_Branch_country.SelectedValue.ToString());
                if (value == 99)
                {
                    dbc.BindDistrict(ddl_Branch_district, int.Parse(ddl_Branch_state.SelectedValue.ToString()));
                }
                else
                {
                    if (value == 228)
                    {
                        dbc.BindCounty_StateWise(ddl_Branch_district, int.Parse(ddl_Branch_state.SelectedValue.ToString()));
                    }
                }
            }
        }
 private void ddl_company_state_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (ddl_company_state.SelectedIndex > 0)
     {
         int value = int.Parse(ddl_company_country.SelectedValue.ToString());
         if (value == 99)
         {
             dbc.BindDistrict(ddl_company_district, int.Parse(ddl_company_state.SelectedValue.ToString()));
         }
         else
         {
             if (value == 228)
             {
                 dbc.BindCounty_StateWise(ddl_company_district, int.Parse(ddl_company_state.SelectedValue.ToString()));
             }
         }
     }
 }