M
Manuel
I'm using a typed dataset and would like to retrieve a specific table but
filtering the rows returned (no point in getting more than what you need,
right?). The problem is that the .Fill method of the DataAdapter will fill
the DataTable with all the rows in the table. I tried using a sqlCommand to
no avail.
How can I fill a typed DataTable with filtered rows? Something like
MyDA.Fill(MyDTable, "CustomerID=1")
filtering the rows returned (no point in getting more than what you need,
right?). The problem is that the .Fill method of the DataAdapter will fill
the DataTable with all the rows in the table. I tried using a sqlCommand to
no avail.
How can I fill a typed DataTable with filtered rows? Something like
MyDA.Fill(MyDTable, "CustomerID=1")