Example #1
0
 public DataSet userinfo(string strwhere)
 {
     DataSet listAll;
     UserModel model = new UserDal();
     DB_OPT dbo = new DB_OPT();
     try
     {
         dbo.Open();
         listAll = model.GetListAll(strwhere, dbo);
     }
     catch (Exception exception)
     {
         throw exception;
     }
     finally
     {
         dbo.Close();
     }
     return listAll;
 }