Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hello all.

iam new here well ill say directly what i wanna know

what is the diffrance between connected and disconnected techniuques in ado.net and and when to use disconnected and when to use connected in your application and if you application is gonna rrun on a LAN and and you have many instannts of your application connecting to the same tables and deal with it (insert,delete & update) which is better connected or disconnected and plz give me examples where the connected and disconnected modes in applications are used

Thanx alot

amro

  • Moderators
Posted

Connected would be a DataReader, it is forward only and read only, DataSets and the like are all disconnected.

 

First of all; insert,delete & update should be done using Stored Procs. (If your DB permits)

 

If you have many table to select then you can fill a datset with these many dataTables, this way you're only hitting the DB once.

Visit...Bassic Software

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...