2004年4月28日

ImportRow遇见的问题

摘要: 向一个DataTable批量添加DataRow时有两种办法:DataTable dt;DataTable newdt;for(int i = 0;i<dt.Rows.Count;i++){ newdt.Rows.Add(dt.Rows[i].ItemArray);}或for(int i = 0;i<dt.Rows.Count;i++) { newdt.ImportRow(dt.Ro... 阅读全文

posted @ 2004-04-28 18:26 newLee 阅读(3610) 评论(2) 推荐(0)

ImportsRows

摘要: 向一个DataTable批量添加DataRow时有两种办法:DataTable dt;DataTable newdt;for(int i = 0;i<dt.Rows.Count;i++){ newdt.Rows.Add(dt.Rows[i].ItemArray);}或for(int i = 0;i<dt.Rows.Count;i++) { newdt.ImportRow(dt.Ro... 阅读全文

posted @ 2004-04-28 18:22 newLee 阅读(144) 评论(0) 推荐(0)

导航