Пример #1
0
 private void 领料清单生成_Load(object sender, EventArgs e)
 {
     try
     {
         textBox1.Text  = 产品.ToString();
         textBox2.Text  = 数量.ToString();
         textBox订单.Text = 订单.ToString();
         //   dataGridView1.DataSource = pm.GetMaterialProductRelationByProduct(textBox1.Text);
         dataGridView1.DataSource = pm.GetMaterialProductRelationByProductEx(textBox1.Text, 数量);
         dataGridView1.Update();
         //
     }
     catch (Exception ex) { };
 }