摘要:
Exec sp_serveroption 'Nipsan','Data Access','True'Select * INTO #tmpWhoFrom OpenQuery(Nipsan,'Exec sp_who')Select * From #tmpWhoDrop table #tmpWho 阅读全文
posted @ 2008-11-20 18:05 codingsilence 阅读(194) 评论(0) 推荐(0) 编辑
摘要:
Exec sp_serveroption 'Nipsan','Data Access','True'Select * INTO #tmpWhoFrom OpenQuery(Nipsan,'Exec sp_who')Select * From #tmpWhoDrop table #tmpWho 阅读全文
posted @ 2008-11-20 18:05 codingsilence 阅读(194) 评论(0) 推荐(0) 编辑
摘要:
Datatabledb=null;DataTabledt=ds.Tables[0];////两个datatable进行合并db=dt.Copy();DataRow[]foundRows=dt.Select();for(inti=0;i<foundRows.Length;i++){db.ImportRow(foundRows[i]);}//两个结构一样的DT合并 DataTableDataTable1=newDataTable();DataTableDataTable2=newDataTable();DataTablenewDataTable=DataTable1.Clone();obje 阅读全文
posted @ 2008-11-20 16:52 codingsilence 阅读(1569) 评论(0) 推荐(0) 编辑 |
||