public virtual int Fill(SQLMobileDataSet.学生信息表DataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);//此处调试有问题
            return returnValue;
        }

解决方案 »

  1.   

    不好意思写的不够精确,改为:
    public virtual int Fill(SQLMobileDataSet.学生信息表DataTable dataTable) { 
                this.Adapter.SelectCommand = this.CommandCollection[0]; 
                if ((this.ClearBeforeFill == true)) { 
                    dataTable.Clear(); 
                } 
                int returnValue = this.Adapter.Fill(dataTable);//此处出现异常sqlexception 
                return returnValue; 
            }