S
Scott Greenbaum
I'm replacing some J++ ADO code with C## & ADO.NET using the
SqlDataAdapter and I need to return an ADODB Recordset. The
OleDbDataAdapter has a nice overload of the Fill method that will do
it:
DataSet myDS = new DataSet();
OleDbDataAdapter myDA = new OleDbDataAdapter();
Recordset myRS;
myDA.Fill(myDS, myRS, "MyTable");
However, the SqlDataAdapter does not have that overload and I can't
find any way to get a Recordset from the SqlDataAdapter.
aTdHvAaNnKcSe
-Scott Greenbaum
scott{at}glockfaq{dot}com
SqlDataAdapter and I need to return an ADODB Recordset. The
OleDbDataAdapter has a nice overload of the Fill method that will do
it:
DataSet myDS = new DataSet();
OleDbDataAdapter myDA = new OleDbDataAdapter();
Recordset myRS;
myDA.Fill(myDS, myRS, "MyTable");
However, the SqlDataAdapter does not have that overload and I can't
find any way to get a Recordset from the SqlDataAdapter.
aTdHvAaNnKcSe
-Scott Greenbaum
scott{at}glockfaq{dot}com