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