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?