Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Typed DataSet and Web Service
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01311278
Message ID:
01311318
Views:
16
>>Ok, so I tried this message in the 'Web Services' category, and go no responses at all. I'm hoping that's because nobody follows that category. This seems to the category where most problems are sorted out, so I figured I'd try it here. Following is the message I posted in the Web Service section. I'm hoping somebody can help me out here.
>
>Just a WAG, but is it because you're actually returning a DataSet from the method instead of dsDept? ex.
>
>public dsDept GetDeptById(short id)

Good thought, but I just tried it out and the result is unchanged. I still get back the schema without any data.

Next I tried changing the calling program at the same time by taking out the line
DataSet departmentDS = new DataSet();
at the top of the class and moving it down into the button click event as:
catsnjazz.dsDept departmentDS = new catsnjazz.dsDept();
before the call to GetDepartmentByID.

Still the same result. Clearly I'm messing up somewhere, but I'm baffled.
Previous
Reply
Map
View

Click here to load this message in the networking platform