Saturday, 14 July 2012

Pass datatable through webservice

The DataTableDataRowDataView, and DataViewManager objects cannot be serialized and cannot be returned from an XML Web service. To return less than a complete DataSet, you must copy the data that you want to return to a newDataSet.


But we can pass datatable through webservice just set "name" property of datatable. After setting name it serialised.


No comments:

Post a Comment