G
Guest
Hello,
I'm using Microsoft Application Blocks in a project I'm working on.
I now need to populate a single dataset, that consists of 2 tables.
From what I've read, if I wasn't using MS Application Blocks, it would
simply be
dataAdapter1.fill(dataset1("table1")
dataAdapter1.newSelectCommandHere
dataAdapter1.fill(dataset1("table2")
Am I able to do this with the SQLHelper Class in MS App. Blocks?
I don't seem to be able to specify which table to load the data into...
This is my line of code:
Dim tables(1) As String
tables(0) = "table1"
tables(1) = "table2"
SqlHelper.FillDataset(SqlDbManager.GetConnectionString,
CommandType.StoredProcedure, _
"Milestones_Read", ds, tables, sqlPararameter1)
Thanks!,
Amber
I'm using Microsoft Application Blocks in a project I'm working on.
I now need to populate a single dataset, that consists of 2 tables.
From what I've read, if I wasn't using MS Application Blocks, it would
simply be
dataAdapter1.fill(dataset1("table1")
dataAdapter1.newSelectCommandHere
dataAdapter1.fill(dataset1("table2")
Am I able to do this with the SQLHelper Class in MS App. Blocks?
I don't seem to be able to specify which table to load the data into...
This is my line of code:
Dim tables(1) As String
tables(0) = "table1"
tables(1) = "table2"
SqlHelper.FillDataset(SqlDbManager.GetConnectionString,
CommandType.StoredProcedure, _
"Milestones_Read", ds, tables, sqlPararameter1)
Thanks!,
Amber