public static DataSet Fetchuser() { DBConnection db = new DBConnection(); // return db.ExecuteReader("UserFetch"); return(db.ExecuteDataSet("UserFetch")); }
public static DataSet fetchPass(fetchinset fet) { DBConnection db = new DBConnection(); db.AddParameter("@Email", fet.UserEmail); db.AddParameter("@Pass", fet.Pass); return(db.ExecuteDataSet("UserLogin")); //if(o!=null) //{ // string x = o.ToString(); //} //return 1; }
public static DataSet Fetchuser() { DBConnection db = new DBConnection(); // return db.ExecuteReader("UserFetch"); return db.ExecuteDataSet("UserFetch"); }
public static DataSet fetchPass(fetchinset fet) { DBConnection db = new DBConnection(); db.AddParameter("@Email",fet.UserEmail); db.AddParameter("@Pass", fet.Pass); return db.ExecuteDataSet("UserLogin"); //if(o!=null) //{ // string x = o.ToString(); //} //return 1; }