Posted on: 5/13/2015 4:53:20 PM | Views : 594

Hi,
i have two drop down list fields one is product and another one is type
editProduct.DataSource = products; editProduct.DataTextField = "Productaxde"; editProduct.DataValueField = "ProductaxdeID"; editProduct.DataBind(); editProduct.Items.Insert(0, new ListItem("Please Select...", String.Empty));
The values which we get in dropdownlist for product is NULL NULL SH_TY HG_IU NULL NULL
editType.DataSource = productTypes; editType.DataTextField = "Name"; editType.DataValueField = "ProductTypeId"; editType.DataBind(); editType.Items.Insert(0, new ListItem("Please Select...", String.Empty));
The values which we get in dropdownlist for type is SAB LOI TYU ERT
My requirement is based on type column value i need to set default value in product dropdown selection selection
...

Go to the complete details ...