Пример #1
0
        public List <DsHistory> GetHisbyID(string sid)
        {
            string           sql     = string.Format("SELECT * FROM DShist WHERE stuid = '{0}'", sid);
            DataTable        dt      = initsql.SQLiteGetTable(sql);
            List <DsHistory> hislist = DataSwitch.DTToList <DsHistory>(dt);

            return(hislist);
        }