Return Strongly Typed Data Set from Web Service
- From: "HardBap" <hardbap@xxxxxxxxx>
- Date: 30 Jun 2005 05:46:13 -0700
I've created a strongly typed DataSet (Customers.xsd) using the xsd.exe
tool. I want to be able to access fields using
ds.Customer[0].CompanyName.
The problem is when I return this DataSet from a Web Service it adds
another Table to the DataSet that contains the data. I have to access
the data using ds.Tables[1].Rows[0]["CompanyName"].ToString(). This
defeats the whole purpose of using a strongly typed DataSet.
Thanks in advance for the help.
.
- Follow-Ups:
- Re: Return Strongly Typed Data Set from Web Service
- From: Gabriel Lozano-Morán
- Re: Return Strongly Typed Data Set from Web Service
- Prev by Date: RE: Textbox Readonly
- Next by Date: RE: Document relative paths and controls?
- Previous by thread: Textbox Readonly
- Next by thread: Re: Return Strongly Typed Data Set from Web Service
- Index(es):
Relevant Pages
|