i want to pass a parameter as a datarow to the web service
cant it possible dataset we can pass but want ot pass datarow
please help me out i need it urjent
vaish999
0
Newbie Poster
Recommended Answers
Jump to PostI don't see why not. Try something like this:
<WebMethod()> _ Public Function PassDataRow(ByVal dr As System.Data.DataRow) As String Return dr.Item(0).ToString() End Function
Jump to PostMicrosoft says: XML serialization can only be applied to classes that contain a public default (parameterless) constructor.
So this DataRow needs to be serialized. I think. :(
All 5 Replies
ManicCW
3
Junior Poster in Training
vaish999
0
Newbie Poster
vaish999
0
Newbie Poster
ManicCW
3
Junior Poster in Training
vaish999
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.