Data Access Application Block v3.0: How to fill DataSet with multi tables

F

feng

Hi,

I am using the Data Access Application Block for .NET 3.0
from GotDotNet. One thing that's important to me is that I
must fill a dataset with multiple tables. Although it
looks like that DAAB v3 supports that but I still don't
know how to do that. The problem is that the FillDataSet
method takes an array of table names, but only a single
SQL select string:
Public Overridable Overloads Sub FillDataset(ByVal
connectionString As String, _
ByVal commandType As CommandType, ByVal
commandText As String, ByVal dataSet As DataSet, _
ByVal tableNames() As String)

How do I fill all the tables with this one select
statement? Can someone who's familar with DAAB v3 help me
on this one?

Thanks

feng
 

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

Top