Example #1
0
        private void CBoxSubCate_SelectedValueChanged(object sender, EventArgs e)
        {
            int subCateID = Convert.ToInt32(cBoxSubCate.SelectedValue);

            cBoxProduct.ValueMember   = "productID";
            cBoxProduct.DisplayMember = "proName";
            cBoxProduct.DataSource    = HelperProduct.GetProductbySubCateModelList(subCateID);
        }