assume those two tables have same structures, use DataSet's Merge method or use DataTable's ImportRow

解决方案 »

  1.   

    SqlDataAdapter才可以将Fill到一个Table中
      

  2.   

    To: sgsh51() 可以详细点吗??谢谢``
      

  3.   

    请教一个分页的问题``如果ID不连续``用什么分页方法好```
    如果用.NET 默认分页我怕记录多的时候会很慢```
    但是用select top n from table where id<Maxid 的方法 又不行``因为ID不是连续的``头痛中`````````````
      

  4.   

    >>>但是用select top n from table where id<Maxid 的方法 又不行``因为ID不是连续的``remember the first and last id on each page and do//previous page
    select * from (select top n from table where id< firstID order by id desc) t order by idor//next page
    select top n from table where id> lastID order by id
      

  5.   

    To:saucer(思归) 
    这个方法只能
    用NEXT PREVIOUS不能用
    [1] [2] [3] [4] [5]....
    这种分页方法```
      

  6.   

    try to use a stored procedure and create a temporary table, seehttp://www.4guysfromrolla.com/webtech/062899-1.shtml