protected void ddlRegion_OnSelectedIndexChanged(object sender, EventArgs e) { if (ddlRegion.SelectedIndex > 0 && ddlDistination.SelectedIndex > 0) { int region_Id = Convert.ToInt32(ddlRegion.SelectedValue), dist_Id = Convert.ToInt32(ddlDistination.SelectedValue); FillLists.FillShippingCoByRegion(ddlShipper, region_Id, dist_Id); } else { ddlShipper.Items.Clear(); } }