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
 
Back
Top