S
SMG
Hi All,
I have a Web Service, which returns a DataSet and I am able to consume.
This is ok if I have a single data to be returned.
Now I want to return two things,
1. DataSet
2. String
through one request only, I thot of using ArrayList as a return type to the
webservices but then how do I re cast it to string and dataset. Will that
work.
I tried with AraryList it didn't work with that, it says "Object must
implement IConvertible."
ArrayList arrL = new ArrayList();
arrL.Add((object)Token);
arrL.Add((object)returnDataSet);
Any Idea how do we use and consume the same.
Regards,
Shailesh Gajare
I have a Web Service, which returns a DataSet and I am able to consume.
This is ok if I have a single data to be returned.
Now I want to return two things,
1. DataSet
2. String
through one request only, I thot of using ArrayList as a return type to the
webservices but then how do I re cast it to string and dataset. Will that
work.
I tried with AraryList it didn't work with that, it says "Object must
implement IConvertible."
ArrayList arrL = new ArrayList();
arrL.Add((object)Token);
arrL.Add((object)returnDataSet);
Any Idea how do we use and consume the same.
Regards,
Shailesh Gajare