Beispiel #1
0
 private void cmbProduct_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         DataTable dt = ClassSetting.selectProductDeatail((int)cmbProduct.SelectedValue);
         txtColor.Text = dt.Rows[0][3].ToString();
         txtType.Text  = dt.Rows[0][4].ToString();
         cat_id        = int.Parse(dt.Rows[0][0].ToString());
         color_id      = int.Parse(dt.Rows[0][1].ToString());
         type_id       = int.Parse(dt.Rows[0][2].ToString());
     }
     catch (Exception) { }
 }