Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disconnected architecture 1

Status
Not open for further replies.

compu66

Programmer
Dec 19, 2007
71
US
Hey all,

I am little confused,in disconnected architecture do I need to use this commands
con.open()
con.close().

I am suure its not necessary and not required but just confiramtion will help me.

Thanks for help in advance.
 
It all depends. You don't need to open a connection if you already have some data, but if you are going to a data source to get some data and then store the data in a disconnected object, then yes you will of course need to open a connection.


-------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
 
The point about the term "disconnected architecture" is not that you never have to have a connection. Rather it is that once you have obtained the data you are looking for, you can drop the connection without losing the data.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top