| | |
MS Access connections
Please support our ASP.NET advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2007
Posts: 30
Reputation:
Solved Threads: 0
hi
i have another problem with my DB... until yesterday everthing worked fine but suddenly the entire project stoped working.
i use this method to connect to the data base:
...
and to call the function i use:
well, like i said, this worked fine until yesterday but today, without changing anything, when the function is called a second time i get this error
i can't close the connection because i need to use the datareader...
can anyone help me?
i have another problem with my DB... until yesterday everthing worked fine but suddenly the entire project stoped working.
i use this method to connect to the data base:
Imports System.Data.OleDb...
Public Class func
Public Shared Function seleccionar(ByVal comando As String)
Dim DBliga As OleDbConnection
Dim DBcomando As OleDbCommand
DBliga = New OleDbConnection(connect)
DBliga.Open()
DBcomando = New OleDbCommand(comando, DBliga)
seleccionar = DBcomando.ExecuteReader()
End Function
End Classand to call the function i use:
Dim DBdatareader As OleDbDataReader
DBdatareader = func.seleccionar("select * from contactos")well, like i said, this worked fine until yesterday but today, without changing anything, when the function is called a second time i get this error
System.Data.OleDb.OleDbException and erro não especificado(something like error not specified ) here DBliga.Open()i can't close the connection because i need to use the datareader...
can anyone help me?
Last edited by DeOiD; May 10th, 2007 at 11:22 am.
![]() |
Similar Threads
- Cannot change msn default home page (Network Security)
- Hardware Interrupts & 100% CPU usage (Windows NT / 2000 / XP)
- virtumonde.o got me too help please (Viruses, Spyware and other Nasties)
- Please take a look at my log, thank you (Viruses, Spyware and other Nasties)
- Internet Explorer and Windows Explorer-SLOW TO OPEN UP-This is my HijackThis Log file (Viruses, Spyware and other Nasties)
- Windows File Explorer and Related Objects Would NOT Open! (Viruses, Spyware and other Nasties)
- MSN messenger problem (Windows Software)
- searching booth and rundll errors (Viruses, Spyware and other Nasties)
- IBM Access Connections (Windows Software)
Other Threads in the ASP.NET Forum
- Previous Thread: validating control in agridview
- Next Thread: help with detals view, looking up data from another table
Views: 1143 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol advice ajax alltypeofvideos anathor application asp asp.net bc30451 bottomasp.net browser button c# checkbox click commonfunctions confirmationcodegeneration connection css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist edit editing expose feedback flash form formatdecimal forms formview google grid gridview hosting iframe iis javascript jquery list listbox login microsoft migration mono mouse mssql multistepregistration news numerical object objects panelmasterpagebuttoncontrols parent problem project radio reportemail richtextbox rotatepage save schoolproject search security services session silverlight smartcard software sql sql-server sqlserver2005 suse textbox theft tracking unauthorized update validation vb.net video videos view virtualdirectory vista visualstudio web webapplications webdevelopemnt webprogramming webservice youareanotmemberofthedebuggerusers





