<Serializable()> class SomeClass {
// ....
}
<webmethod()> public function GetAllDatas() as DataSet
.
.
.
return MyDataSet
end function
Before you must populate DataSet
.
.
.
Save dataSet as XML.
ds.WriteXml("mydataXML.xml")
Dim ds As New DataSet( )
ds.ReadXml("mydataXML.xml")