Run a SQL statement

  • Thread starter Thread starter george
  • Start date Start date
george said:
Can you run SQL statement against a datatable and if so how?

Thanks

You can use the RowFilter property of the DefaultView to narrow down the
number of rows in the DataTable, but if you are looking for aggregates or
some other computation (without making another call to the database), you'll
have to write your own code.
 
George,
Can you run SQL statement against a datatable and if so how?
No, there is worked at Linq that will be a kind of query language as SQL
however beter.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top