private void BindClaimSkuSubCategory() { DropDownListSubCategory.ClearSelection(); DropDownListSubCategory.DataSource = ClaimSku.GetClaimSkuSubCategoryListByClaimSkuCategory(Convert.ToInt32(DropDownListCategory.SelectedValue)); DropDownListSubCategory.DataTextField = "Description"; DropDownListSubCategory.DataValueField = "ClaimSkuSubCategoryId"; DropDownListSubCategory.DataBind(); }
private void BindClaimSkuSubCategory() { DropDownListSubCategory.DataSource = ClaimSku.GetClaimSkuSubCategoryListByClaimSkuCategory(Convert.ToInt32(DropDownListCategory.SelectedValue)); DropDownListSubCategory.DataTextField = "Description"; DropDownListSubCategory.DataValueField = "ClaimSkuSubCategoryId"; DropDownListSubCategory.DataBind(); //DropDownListSubCategory.Items.Insert(0, new ListItem("Please select", "0")); }