Hi
Why wont my page let go of the database .ldb file. The only way I connect to my database is via this function:
And still the .ldb file excist.
Its the same on my other pages where I have more functions that connect to the database but All of the includes either Conn.Close() or CommanBehavior.CloseConnection
Can someone help me?
I use IIS 5.1, WinXp Pro, Access 2000 and Dreamwaver.
//Andi03
Why wont my page let go of the database .ldb file. The only way I connect to my database is via this function:
Code:
Function HamtaData_DataReader(strSQL As String, strDBConnection As String) As OLEDBDataReader
Dim Conn As New OLEDBConnection(strDBConnection)
Dim Cmd As New OLEDBCommand(strSQl, Conn)
Dim DR As OLEDBDataReader
Conn.Open()
DR = Cmd.ExecuteReader(CommandBehavior.CloseConnection)
Return(DR)
End Function
And still the .ldb file excist.
Its the same on my other pages where I have more functions that connect to the database but All of the includes either Conn.Close() or CommanBehavior.CloseConnection
Can someone help me?
I use IIS 5.1, WinXp Pro, Access 2000 and Dreamwaver.
//Andi03