Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old June 12th, 2003, 09:21 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Administrators, ASPNET, sa
Reply With Quote
  #12 (permalink)  
Old June 14th, 2003, 04:19 AM
Authorized User
 
Join Date: Jun 2003
Location: , , Switzerland.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

************************************************** *****
Line 10: Dim objDataSet As DataSet = New DataSet
Line 11: Public Sub New()
Line 12: objConnection.Open()
Line 13: objConnection.Close()
Line 14: objDataAdapter.SelectCommand = New OleDbCommand
************************************************** *******

Maybe I'm missing something very basic...
but why are you closing the connection just the line after you call the open method
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How I Can Setup A Counter Using ASPX Application O yoord ADO.NET 1 May 29th, 2004 04:35 AM
aspx application??? blackcafe BOOK: Beginning ASP.NET 1.0 1 May 18th, 2004 07:12 AM
ASPX role authentication digriz60 ASP.NET 1.0 and 1.1 Basics 3 November 5th, 2003 11:48 AM
Authentication in ASPX(VB .NET) CFerthorney ASP.NET 1.0 and 1.1 Professional 5 September 9th, 2003 10:58 AM



All times are GMT -4. The time now is 09:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.