How to call C# COM overloaded functions from ASP?
Hi..
i created a C# COM wrapper for my application using Enterpriseservices, but a problem arised when i tried to overload some functions and call them from my ASP page.
for example i had these 3 functions:
public bool Add_Edit_Book(string Data ,string strXML,long ProID,string ErrorInfo,ref long intNewProID)
public bool Add_Edit_Book(string Data ,string strXML,long ProID,string ErrorInfo)
public bool Add_Edit_Book(string Data ,string strXML,long ProID)
the problem is when calling them from ASP.
i can only call the first one that appeared in my code!!
i made my search and found that i can call the 2nd and the 3rd like.
Add_Edit_Book_2(....)
Add_Edit_Book_3(....)
respectively.
but this will cause a lot of problem knowing that the application in ASP that uses this COM has already been written without this name differences.
so is there any other way to make these 3 overloads have same name when called from and ASP page?
Appreciate your help and thanks in advance :)
|