View Single Post
  #1 (permalink)  
Old November 12th, 2008, 04:45 PM
vinod_yadav1919 vinod_yadav1919 is offline
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default Is it possible to copy n-row to another dataset?

Is it possible to copy n-row to another dataset?

Currently I am using below code published in another forum..
dim srcRow, dstRow as DataRow, dstTab as Datatable
  srcRow=...
  dstRow=dstTab.NewRow()
  For i as integer=0 to dstrow.columns.count-1
    dstRow(i)=srcrow(i)
  Next
  dstTab.Rows.Add(dstRow)

is there any other way that will copy faster than this??

Any input or pointer will be great !!

Cheers :)

vinod
__________________
Cheers :)

vinod