Machan la mata asp.net web service ekakin return wena object ekaka
hash ekath return karanna one userta
Ex. user student kenek ge details illapuwama student object & hash of object yawaganna one ...
Hash eka calculate karanaawa ... but hash eka yawanna widihak thama danne natte ...
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string stdinfo(string ID)
{
...
student.name="aa";
student.age="14";
string hash = getHash(student);
JavaScriptSerializer js = new JavaScriptSerializer();
return js.Serialize(student);
}
output
<string xmlns="http://www.test1.com/">
{"Name":"aa","age":"14"}
</string>
machan la mata me widihata output eka ganna one
<string xmlns="http://www.test1.com/">
{"Name":"aa","age":"14"}
</string>
<string hash> xxxxxxxx </hash>
Please help ekak denna ko ...


hash ekath return karanna one userta
Ex. user student kenek ge details illapuwama student object & hash of object yawaganna one ...
Hash eka calculate karanaawa ... but hash eka yawanna widihak thama danne natte ...
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string stdinfo(string ID)
{
...
student.name="aa";
student.age="14";
string hash = getHash(student);
JavaScriptSerializer js = new JavaScriptSerializer();
return js.Serialize(student);
}
output
<string xmlns="http://www.test1.com/">
{"Name":"aa","age":"14"}
</string>
machan la mata me widihata output eka ganna one
<string xmlns="http://www.test1.com/">
{"Name":"aa","age":"14"}
</string>
<string hash> xxxxxxxx </hash>
Please help ekak denna ko ...



