Subsonic connections and dataset

Posted by ajk on Stack Overflow See other posts from Stack Overflow or by ajk
Published on 2010-03-12T12:45:53Z Indexed on 2010/03/12 12:47 UTC
Read the original article Hit count: 380

Filed under:

Hi, If using subsonic, i know you hav to close a datareader. but what if you get a dataset back, from a stored procedure? What can you close? So if its like this -

 SubSonic.StoredProcedure sp = SubSonic.StoredProcedure; 
 DataSet ds = DataSet; 
 ds = sp.GetDataSet;

What do i close when done? I don't think dataset can be closed, right? This is Subsonic 2.x

Sorry if this was posted already, i tried to post earlier but got error message, and then couldnt find it so am trying again.

© Stack Overflow or respective owner

Related posts about subsonic