>I am doing the above and at Step4, I faced a problem. When I add the web method, the below lines got problem :
>
>' Get all orders for the specified customer
> Return oOrder.GetOrdersByCustomerID(custID)
>
>The error message as below:
>Error 74 Value of type 'System.Data.DataTable' cannot be converted to 'System.Data.DataSet'. D:\MM.Net Jump Start\Orders Web Service VB\App_Code\CustomerOrdersWS_VB.vb 26 16 D:\MM.Net Jump Start\Orders Web Service VB\
It looks like this is a typo in the Jump Start. Try changing the signature of the Web Service method to this:
Public Function GetOrdersByCustomerID(ByVal custID As String) As DataSet
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com