Heiko
Contributor
Strange this is. Probably I am doing something wrong. But I can't figure out, what.
Here comes what I wish I could do:
The compiler won't allow that.
The second and third 'LoadList' must be declared shadows, because another Method with this name is declare shadows.
OK. However I can not declare them
Public Overloads Shadows Sub LoadList (myTablename as String) ...
(wouldn't make any sense in the first place) - the compiler complains again: Overloads and Shwdows can not be combined.
I am stuck.
Any help appreciated.
Tnx Heiko
Visual Basic:
Class BaseClass
Public Sub LoadList (dvView as DataView) ...
End Class
Here comes what I wish I could do:
Visual Basic:
Class HeikosClass Inherits BaseClass
Public Shadows Sub LoadList (dvView as DataView) ...
Public Overloads Sub LoadList (dtTable as DataTable) ...
Public Overloads Sub LoadList (myTablename as String) ...
End Class
The compiler won't allow that.
The second and third 'LoadList' must be declared shadows, because another Method with this name is declare shadows.
OK. However I can not declare them
Public Overloads Shadows Sub LoadList (myTablename as String) ...
(wouldn't make any sense in the first place) - the compiler complains again: Overloads and Shwdows can not be combined.
I am stuck.
Any help appreciated.
Tnx Heiko