Open connection
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
In Web, when i want to do a task associating with database Should i open connection to the database at the beginning of the task and close connection when task is done? OR I open connection when page_load event of the page raises and just close connection when page_unload event of the page raises. Thanks
-
In Web, when i want to do a task associating with database Should i open connection to the database at the beginning of the task and close connection when task is done? OR I open connection when page_load event of the page raises and just close connection when page_unload event of the page raises. Thanks