P
PeterH
I am developing a web service in VB.Net that returns data from a server.
I have an .asmx page that uses a strongly typed dataset and I would like
to return data in the form of strongly typed data table rows. However I
always get an error message to do with the fact that the data set is not
serializable. For example: "You must implement the Add(System.Object)
method on xyz data table because it inherits from IEnumerable."
The strongly typed data set objects are created automatically in Visual
Studio from the data set schema. Is there a way to force Visual Studio
(2003 version) to implement the necessary methods to make the data set
serializable?
Peter
I have an .asmx page that uses a strongly typed dataset and I would like
to return data in the form of strongly typed data table rows. However I
always get an error message to do with the fact that the data set is not
serializable. For example: "You must implement the Add(System.Object)
method on xyz data table because it inherits from IEnumerable."
The strongly typed data set objects are created automatically in Visual
Studio from the data set schema. Is there a way to force Visual Studio
(2003 version) to implement the necessary methods to make the data set
serializable?
Peter