This code works fine in C#:
I copied and pasted it here to convet it to VB.Net:
I took the entire VB.Net code, and copied it to a class (this is asp.net 2.0, WAP)...
I get this error ( Blue line under "Implements IDBManager" )saying to implement each function in IDBManager. I have no clue what I'm missing...
This is a simplified code:
Public Interface IDBManager
Public NotInheritable Class DBManager
Implements IDBManager '[b] blue error line under IDBManager [/b]
Public Sub Open()
idbConnection = DBManagerFactory.GetConnec
ring = Me.ConnectionString
If Not (idbConnection.State = ConnectionState.Open) Then
Me.idbCommand = DBManagerFactory.GetComman
[b] error is : Class 'DBManager' must implement 'Sub Open()' for interface 'IDBManager' [/b]