示例#1
0
 protected void BtnAdd_Click(object sender, EventArgs e)
 {
     i = obj.AddExpense(txtitemname.Text, Convert.ToDecimal(txtexpenses.Text), txtdesc.Text, "Accountant", Convert.ToInt32(Session["UUId"]), DateTime.Now.ToString());
     if (i > 0)
     {
         lblmsg.Text = "Data Has Been Added";
         BindData();
         ClearFields();
     }
 }