punjabtechnicaluniversity.blogspot.in
Command method Executereader takes a parameter called as CommandBehavior where in we can specify saying close connection automatically after the Datareader is close.
pobjDataReader = pobjCommand.ExecuteReader(CommandBehavior.CloseConnection)
0 comments:
Post a Comment
North India Campus