new DataRow 的方式:

   DataTable pDataTable = new DataTable();
         
                DataRow pRow = new DataRow();

正确的方式:

DataRow pRow=pDataTable.newRow();

 

posted on 2014-10-19 14:31  小太  阅读(3721)  评论(0编辑  收藏  举报