is it worth creating a sqldatareader in data access layer


Hi, while going for a project it is customary to create a data access layer(i.e. a class file will be created with all the links such as insert,delete,update etc.) Throughout I have seen that many of them use dataset and datarow to retrieve datas . My question is can we use sqldatareader and will it be feasible. My Team Leader says that if you once call it you will not be able to access it in later transactions. Is this true? I will be closing of the sqldatareader in the data access layer itself. then what's the harm

Regards cmrhema

Read More


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s