Click here to Skip to main content
15,883,949 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
http://localhost:8005/Service1.svc/AddData

And i need to return data (output) like below,

Condition 1: If both saved in db without any error,

JavaScript
{"sjSonData":[{
  "success":true
}]}


Condition 2: Suppose any one data failed to save in database then

JavaScript
{"sjSonData":[
{
"log_Id":1,
"success":false
},
{
 "log_Id":2,
 "success":true
}
]}
Posted
Updated 27-May-14 2:19am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900