473,386 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

webservice class inherite DataSet and client generate the force dataset issues

Using WebServices, and server add the new class PersonSet that inherite
DataSet,follow down:

public class PersonSet:DataSet
{
private string _strB;

public string strB
{
get
{
return _strB;
}
set
{
_strB=value;
}

}
public PersonSet()
{
//
// TODO: constructor
//
}
}
this is a webservice that use the personset:
webservies:wsTest.asmx
[WebMethod]
public PersonSet GetPerson()
{
PersonSet a=new PersonSet();
return a;
}

In the client, add the web reference and auto-generate the force dataset:
NewDataSet.xsd.
but the client cann't use the PersonSet's property. Would tell me the
advantage or benifit that use the force dataset if the server inherite the
DataSet?

Miller


Nov 13 '05 #1
0 1468

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sergi Adamchuk | last post by:
I need determine which web service (class WebService or its inheritors) serveces current request (I need Type instance of class that serves request). For example you wrote your own WebService: ...
11
by: Andy | last post by:
Make the story short, I have a VB.NET client interface calling .NET webservice, written in VB.NET as well. I am trying to make the client as thin as possible so I let the webservice part to...
3
by: Trygve Lorentzen | last post by:
Hi, I don't know if this is a stupid question, but I observe that my webservice is created for each call to a webmethod. More precisely an instance of the webservice class is created for each...
6
by: Sascha Schmidt | last post by:
Hi again! Well, the first part of my "mission" (calling remoting objects from a webservice) is solved. But there's another part: Calling this C#-Webservice from a java client. Is this a...
0
by: abc my vclass | last post by:
How to generate a dataset from stored procedure which have many resultsets? I try Dataset designer from VS2005, it only generate first table from stored procedure on server explorer. Another...
0
by: Newkid | last post by:
Hi there! Can anyone put some lights on "How to generate a dataset in cache as soon as new records is inseted into MYSQL database?" Beside this, I would also know your opinions about how to...
1
by: samtilden | last post by:
I made my own class, MyCompany.MyClass and I want to send one object of this class from my webservice to the client. On the client side, when I Update Web Reference, the object is known as...
0
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I'm using Visual Basic in VS2005. How many different ways I can create a type dataset and a untype dataset? Ways to create type dataset 1. Use Dataset Designer 2. Use Data Source...
3
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
Are the terms weakly type dataset and untype dataset mean the same thing?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.