public int loadID() { bll = new BLL.BLLDangNhap(); DataTable dt = new DataTable(); dt = bll.registration(); return(dt.Rows[0].Field <int>("id")); }
public void registration() { if (bll.registration().Rows.Count > 0) { llbRegistration.Text = ""; lbQues.Text = ""; } }
public String loadName() { bll = new BLL.BLLDangNhap(); DataTable dt = new DataTable(); dt = bll.registration(); return(dt.Rows[0].Field <String>("username").ToString()); }