public bool IsExist(String sEmail, String sPassword) { String sSQL = "select * from Account where A_Email='" + sEmail + "' and A_Password='******'"; DataSet ds = new DAL.DatabaseAccess().Select(sSQL); if (ds.Tables[0].Rows.Count == 1) { return true; } else { return false; } }
public MobileDAL() { connection = DatabaseAccess.OpenConnection(); }
public OrderDAL() { connection = DatabaseAccess.OpenConnection(); }