wpf - How to convert DataGrid to dataTable -


I want to copy all the datagrid archives into datatates without using any loop. For X:

  New Datatable DT = Data Grid 1. DMTT as the item   

but it is not working and is giving an error message.

My development platform is Visual Studio 2010 and language is with WPB vb.net 4.0

How to transfer all records from DATAGRID to datasheet without using LOOP

VB:

  DMTT as new Datatelle DT (DataGrid1.ItemsSource, DataView) .toTable   

Dt = (DataView) DataGrid1.ItemsSource .toTable ();

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -