Click here to Skip to main content
15,922,166 members
Home / Discussions / Database
   

Database

 
Questionre: creating package in vb.net Pin
rrrriiizz16-Nov-06 22:39
rrrriiizz16-Nov-06 22:39 
AnswerRe: re: creating package in vb.net Pin
Paddy Boyd16-Nov-06 23:56
Paddy Boyd16-Nov-06 23:56 
QuestionHow to restrict datagrid Pin
ganeshdabholkar16-Nov-06 20:15
ganeshdabholkar16-Nov-06 20:15 
AnswerRe: How to restrict datagrid Pin
yuvachandra16-Nov-06 22:27
yuvachandra16-Nov-06 22:27 
AnswerRe: How to restrict datagrid Pin
rah_sin16-Nov-06 23:12
professionalrah_sin16-Nov-06 23:12 
AnswerRe: How to restrict datagrid Pin
Laxmikant Lad19-Nov-06 23:11
Laxmikant Lad19-Nov-06 23:11 
QuestionRelease data source Pin
rico cheah16-Nov-06 19:30
rico cheah16-Nov-06 19:30 
AnswerRe: Release data source Pin
Colin Angus Mackay16-Nov-06 22:29
Colin Angus Mackay16-Nov-06 22:29 
You should always close the connection after working with the database. The best practice model for ADO.NET is aquire-query-release. You should always close a connection to the database as soon as your query is complete.

Also, in ASP.NET the application is stateless. That means that when you request a page it creates a page, populates the page, streams the page to the browser, then deletes all resources used by the page.

NOTE: If a connection to a database is not closed and it goes out of scope so that the garbage collector has to deal with it you will find that the connection stays open until such time as the garbage collector cleans up your mess. That might never happen because your application may break due to lack of connections before the garbage collector gets to it.


GeneralRe: Release data source Pin
rico cheah17-Nov-06 21:14
rico cheah17-Nov-06 21:14 
Questionproject on school database Pin
pramod40016-Nov-06 18:11
pramod40016-Nov-06 18:11 
AnswerRe: project on school database Pin
_AK_16-Nov-06 18:28
_AK_16-Nov-06 18:28 
GeneralRe: project on school database Pin
dilfizo16-Nov-06 20:15
dilfizo16-Nov-06 20:15 
Questionhow to get only date from datetime field of te table Pin
yogita charhate16-Nov-06 17:49
yogita charhate16-Nov-06 17:49 
AnswerRe: how to get only date from datetime field of te table Pin
Christian Graus16-Nov-06 17:54
protectorChristian Graus16-Nov-06 17:54 
AnswerRe: how to get only date from datetime field of te table Pin
Janani Divya17-Nov-06 18:02
Janani Divya17-Nov-06 18:02 
GeneralRe: how to get only date from datetime field of te table Pin
Laxmikant Lad19-Nov-06 23:16
Laxmikant Lad19-Nov-06 23:16 
QuestionHow to pass result set as multi-value parameter to subreport Pin
OytotheVey16-Nov-06 11:33
OytotheVey16-Nov-06 11:33 
AnswerRe: How to pass result set as multi-value parameter to subreport Pin
Christian Graus16-Nov-06 11:42
protectorChristian Graus16-Nov-06 11:42 
GeneralRe: How to pass result set as multi-value parameter to subreport Pin
OytotheVey16-Nov-06 11:52
OytotheVey16-Nov-06 11:52 
GeneralRe: How to pass result set as multi-value parameter to subreport Pin
Christian Graus16-Nov-06 11:56
protectorChristian Graus16-Nov-06 11:56 
QuestionSQL2005 ot Oracle 10 Pin
VK-Cadec16-Nov-06 9:04
VK-Cadec16-Nov-06 9:04 
QuestionHow to Querying Document Properties from Full Text Catalogs in Sql Server 2005 Pin
fenil jacob16-Nov-06 3:48
fenil jacob16-Nov-06 3:48 
Questionhow to genarate script file for sql database Pin
yuvachandra16-Nov-06 0:48
yuvachandra16-Nov-06 0:48 
AnswerRe: how to genarate script file for sql database Pin
Frank Kerrigan16-Nov-06 0:52
Frank Kerrigan16-Nov-06 0:52 
AnswerRe: how to genarate script file for sql database Pin
Paddy Boyd17-Nov-06 0:06
Paddy Boyd17-Nov-06 0:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.