示例#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();
 }