Beispiel #1
0
 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;
     }
 }
Beispiel #2
0
 public MobileDAL()
 {
     connection = DatabaseAccess.OpenConnection();
 }
Beispiel #3
0
 public OrderDAL()
 {
     connection = DatabaseAccess.OpenConnection();
 }