Thank you Peter!
Here is what I did, which worked great.
updaterow: function (rowid, rowdata, commit) {
var sdate = dataAdapter.formatDate(rowdata.ScheduledDate, ‘D’);
$.ajax({
type: “POST”,
url: “CSWebService.asmx/UpdateCSProject”,
contentType: “application/json; charset=utf-8”,
dataType: “json”,
data: ‘{“projectid”:”‘ + rowdata.ProjectID + ‘”,”roadname”:”‘ + rowdata.RoadName + ‘”,”roadnumber”:”‘ + rowdata.RoadNumber + ‘”,”fromdesc”:”‘ + rowdata.FromDesc + ‘”,”todesc”:”‘ + rowdata.ToDesc + ‘”,”frommp”:”‘ + rowdata.FromMP + ‘”,”tomp”:”‘ + rowdata.ToMP + ‘”,”projstatus”:”‘ + rowdata.ProjectStatus + ‘”,”sdate”:”‘ + sdate + ‘”}’,
success: function (data) {
commit(true);
GetItems()
}
});
},