Exemple #1
0
        public AdminInfo getDataByAccount(string Account)
        {
            AdminInfo   info   = new AdminInfo();
            IDataReader reader = db.GetDataByAccount(Account).CreateDataReader();

            while (reader.Read())
            {
                info = AdminInfo.Populate(reader);
            }
            return(info);
        }