O
orencs
Hello,
I am using Microsoft.Practices.EnterpriseLibrary.Data.
I am running the following
sqlCommand = "SELECT var1 FROM table1 WHERE var2 IN (4,5,6) ; SELECT
var3 FROM table2 WHERE var2 IN (4,5,6)";
IDataReader dataReader = db.ExecuteReader(dbCommandWrapper); while
(dataReader.Read()) {
The problem is that the dataReader holds only the data from table1 i.e.
the first select statment.
Do you have any idea how to work it out?
I am using Microsoft.Practices.EnterpriseLibrary.Data.
I am running the following
sqlCommand = "SELECT var1 FROM table1 WHERE var2 IN (4,5,6) ; SELECT
var3 FROM table2 WHERE var2 IN (4,5,6)";
IDataReader dataReader = db.ExecuteReader(dbCommandWrapper); while
(dataReader.Read()) {
The problem is that the dataReader holds only the data from table1 i.e.
the first select statment.
Do you have any idea how to work it out?