コード例 #1
0
        private void UpdateProduct_Click(object sender, EventArgs e)
        {
            info.product_id    = Convert.ToInt32(ProductIDtextBox.Text);
            info.team_id       = TeamIDtextBox.Text;
            info.style_no      = StyleNotextBox.Text;
            info.order_qty     = Convert.ToInt32(OrderQuantitytextBox.Text);
            info.product       = ProducttextBox.Text;
            info.label         = LabeltextBox.Text;
            info.smv           = Convert.ToInt32(SMVtextBox.Text);
            info.first_out     = FirstOutdateTimePicker.Value;
            info.style_changes = Convert.ToInt32(StyleChangestextBox.Text);
            info.plan_man      = PlanMantextBox.Text;
            info.target_input  = Convert.ToInt32(TargetInputtextBox.Text);
            info.target_output = TargetOutputtextBox.Text;

            dt = opr.UpdateProduct(info);

            refreshing(dataGridView1);
        }