Example #1
0
        static void Main(string[] args)
        {
            string          filePath = @"C:\Users\zhangroc\app\data\DB.csv";
            RecordStructure rs       = new RecordStructure(filePath);

            List <PeopleInfo> recordlist = new List <PeopleInfo>();
            Boolean           isfind     = rs.Query("程中", ref recordlist);

            if (isfind)
            {
                foreach (PeopleInfo p in recordlist)
                {
                    Console.WriteLine(p.ToString());
                }
            }
        }
Example #2
0
        static void Main(string[] args)
        {
            string filePath = @"C:\Users\zhangroc\app\data\DB.csv";
            RecordStructure rs = new RecordStructure(filePath);

            List<PeopleInfo> recordlist = new List<PeopleInfo>();
            Boolean isfind = rs.Query("程中", ref recordlist);
            if ( isfind )
            {
                foreach (PeopleInfo p in recordlist)
                {
                    Console.WriteLine(p.ToString());
                }
            }
        }