I have a web method:
public DataSet SyncedWall()
{
DataSet dst = dscomment;
dst.Tables[0].Rows[i]["WallInfo"] = "my own modified value";
return dst;
}
Although the real method is big but this is a minified version.
Following is the xml output received from the web method:
<DataSet>
<xs:schema id="NewDataSet">
<!-- Schema goes here.. -->
</xs:schema>
<diffgr:diffgram>
<NewDataSet>
<!-- Dataset values goes here... -->
</NewDataSet>
<diffgr:before>
<!-- Here are the original modified (unwanted) values -->
</diffgr:before>
</diffgr:diffgram>
</DataSet>
What I want is to remove the <diffgr:before>
tag and its inner contents.
How to do that?