Results 1 to 2 of 2

Thread: exceeding database connections

  1. #1
    noname is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Jan 2008
    Posts
    1
    Reputation
    0

    exceeding database connections

    would the following code and process cause database to deny access/exceed connections?


    create connection
    set sql statement
    open connection with sql
    put results into data set
    close connection

    see code:

    Code:
    dbCon.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = " & vmdbfile
    
    sql = "SELECT * FROM TABLES"
    
    'data adapter
    da = New OleDbDataAdapter(sql, dbCon)
    da.Fill(ds, "pie")
    
    dbCon.Close
    Missing something funamental?

  2. #2
    kishorebarik26 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Feb 2008
    Posts
    1
    Reputation
    0
    No friend there is no error!!!!!!!!!!!!!!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking