客户那边给的数据库是动态链接库获取的 --他返回一个datatable,我程序的时候,将datatable放在Ilist里面现在对Ilist 做linq查询
    public class LedTaskAll
    {
        public string pickno
        {
            get;
            set;
        }
        public string pksectntype
        {
            get;
            set;
        }
        public int taskcount
        {
            get;
            set;
        }
        public int finish
        {
            get;
            set;
        }
        public int notfinish
        {
            get;
            set;
        }
        public float progress
        {
            get;
            set;
        }    }ILIST的实体类如上做一个如下的查询select sum (taskcount), float型的progerss转为 字符型 from Ilist where pksectntype ==‘ ALL’给个 linq 语句。谢谢