public string a() { WithDrawBLL wi = new WithDrawBLL(); WithDraw model = wi.Single(100004); model.UTime = DateTime.Now; bool flag = wi.Update(model); return(flag.ToString()); }
private void button3_Click(object sender, EventArgs e) { WithDrawBLL wi = new WithDrawBLL(); WithDraw model = wi.Single(100004); model.UTime = DateTime.Now; bool flag = wi.Update(model); MessageBox.Show(flag.ToString()); }