H
hs
I have a ClassLibrary(ClassLibrary1) with 2 classes (MyClass1, MyClass2).
(one inherits a DataSet, and the other requires a DataSet in its
constructor).
My Winform project and Asp.Net Web service both reference my
ClassLibrary1.dll.
My webservice has 2 methods (one returns MyClass1, the other MyClass2).
I keep getting compilation error -
Cannot implicitly convert Cannot implicitly convert type
'TestBed.localhost.MyClass1' to 'ClassLibrary1.MyClass1'
for this line of code -
MyClass1 mc = ws.GetMyClass1(); //ws = webservice
Any Help appreciated.
(one inherits a DataSet, and the other requires a DataSet in its
constructor).
My Winform project and Asp.Net Web service both reference my
ClassLibrary1.dll.
My webservice has 2 methods (one returns MyClass1, the other MyClass2).
I keep getting compilation error -
Cannot implicitly convert Cannot implicitly convert type
'TestBed.localhost.MyClass1' to 'ClassLibrary1.MyClass1'
for this line of code -
MyClass1 mc = ws.GetMyClass1(); //ws = webservice
Any Help appreciated.