c# - Fill DataTable from LinqDataSource -


how obtain datatable linqdatasource?

i have found datatableextensions.copytodatatable() method, can't work out how use linqdatasource.

you can do

    ienumerable<datarow> query = ...;     datatable.datasource = query.copytodatatable<datarow>(); 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -