public void CapNhat() { if (txtmk.Text == "") { ToastNotification.Show(this, "Vui lòng chọn mật khẩu", null, 2000, (eToastGlowColor)eToastGlowColor.Blue, (eToastPosition)eToastPosition.BottomCenter); return; } DataTable numberr; numberr = _db.UserUpdate(ref err, Convert.ToInt32(lblid.Text), txtmk.Text); if (numberr.Rows.Count > 0) { ToastNotification.Show(this, numberr.Rows[0]["ErrMsg"].ToString(), null, 2000, (eToastGlowColor)eToastGlowColor.Blue, (eToastPosition)eToastPosition.BottomCenter); } }