G
Guest
Hi,
This is a question about performance.
We executed a SqlClient.SqlCommand to fill a dataset with 10 recordsets from
SQL database and exported to the datafiles in text format. It is very slow
with large data set. Then I changed to use datareader and had the speed
improved about 50%. However, we still have to loop through each row, each
column in a row to get the data for each recordset and the speed is not
acceptable, especially compared to our VB6 application where to use
ADODB.Recordset.GetString() to dump one row at a time to the text file.
Does ADO.net have equivalent function to ADODB.Recordset.GetString() in VB6?
Thanks
This is a question about performance.
We executed a SqlClient.SqlCommand to fill a dataset with 10 recordsets from
SQL database and exported to the datafiles in text format. It is very slow
with large data set. Then I changed to use datareader and had the speed
improved about 50%. However, we still have to loop through each row, each
column in a row to get the data for each recordset and the speed is not
acceptable, especially compared to our VB6 application where to use
ADODB.Recordset.GetString() to dump one row at a time to the text file.
Does ADO.net have equivalent function to ADODB.Recordset.GetString() in VB6?
Thanks