Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to pass a table of data
Message
De
07/12/2004 15:31:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/12/2004 14:52:20
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
00967555
Message ID:
00967581
Vues:
8
Bonnie,
What's the difference? Passing a dataset you're already passing an XML,no?
Cetin

>Stephen,
>
>I don't recommend passing a DataSet to or from a WebService. Use an XML string instead. It's easy enough to serialize/deserialize a DataSet to/from XML.
>
>~~Bonnie
>
>
>>Google Advice for passing a table of data, already in a ds, was to pass the whole ds.
>>
>>I am getting this error in my WS.
>>Server was unable to process request. --> System.FormatException: String was not recognized as a valid Boolean.
>> at System.Boolean.Parse(String value)
>> at System.String.System.IConvertible.ToBoolean(IFormatProvider provider)
>> at System.Convert.ToBoolean(Object value)
>> at System.Data.Common.BooleanStorage.Set(Int32 record, Object value)
>> at System.Data.DataColumn.set_Item(Int32 record, Object value)Couldn't store <Wrecker / Tow Truck > in chk Column. Expected type is Boolean.
>>
>>I have a checkbox in the grid that the ds is editing. That is the data I really need BTW.
>>
>>this is the error from the WIN Client's button click event.
>> at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
>> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
>> at SRA.ParkerWS.Service1.PostData(DataSet dsM, String lcCompany, String lcName, String lcTitle, String lcEmail, String lcAddress, String lcCity, String lcState, String lcCountry, String lcPhone, String lcType) in C:\win_projects\inPHorm\Web References\ParkerWS\Reference.cs:line 55
>>
>>If I take out the call for the ds, it's fine.
>>
>>What is a better way to pass the data?
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform