Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Overload problem on BizObj
Overload problem
I’m writing a method to retrive data in one of my BizObj’s and I’d Like to use a overload to and pass the int Primary key or a string containing a where clause. I’m declairing it like this.
Public Function GetClientProFile(byVal tnClientID as int16)as DataSet
Some code
End Function
Public Function GetClientProFile(byVal tcWhere as string)as DataSet
Some code
End Function
This throw the following error whenever I try to call the method.
Overload resolution failed because no accessable ‘GetClientProFile’ can be
Called without a narrowing conversion.
Anyone know what I’ve gotten wrong?
Thanks
Brian G
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement