Beispiel #1
0
        protected void btnUpdate_Click(object sender, EventArgs e)
        {
            purchaseData    = new PurchaseData();
            indent          = new Indent();
            indent.IndentId = Convert.ToInt32(hfIndentId.Value);
            indent.Flag     = 5; //set status delivered
            int  val = Convert.ToInt32(dpStatus.SelectedItem.Value);
            bool result;

            if (val == 1)
            {
                result = purchaseData.IndentStatus(indent);
            }
        }