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