Database Reference
In-Depth Information
Figure 15-6. Filtering and sorting a data table
How It Works
You code and combine two queries for execution on the same connection.
// Query1
string sql1 = @" select *
from Production.Product
where Name Like 'Mountain%'";
// Query2
string sql2 = @" select *
from Production.Location
where CostRate > 10.0 ";
// Combine queries
string sql = sql1 + sql2;
 
Search WWH ::




Custom Search