J
j_ruez
I cannot find any information for this question and I have looked for
about two days. Any suggestions, articles, whatever would be
appreciated.
I am using the Data Access Application Block (DAAB) to access my sql
database. I cannot figure out if I need to close any connections or
datareaders when using the SqlHelper.ExecuteReader call.
Let's say that I do the following:
SqlDataReader dtr = SqlHelper.ExecuteReader(strConnTxt,
CommandType.Text, strSql);
Once I use the datareader dtr, do I need to call the close method?
Are there any open connections that I need to worry about?
thanks
about two days. Any suggestions, articles, whatever would be
appreciated.
I am using the Data Access Application Block (DAAB) to access my sql
database. I cannot figure out if I need to close any connections or
datareaders when using the SqlHelper.ExecuteReader call.
Let's say that I do the following:
SqlDataReader dtr = SqlHelper.ExecuteReader(strConnTxt,
CommandType.Text, strSql);
Once I use the datareader dtr, do I need to call the close method?
Are there any open connections that I need to worry about?
thanks