摘要:public class MyLogger { public static void Log(string str) { StreamWriter sw = null; try { DirectoryInfo di = new DirectoryInfo(@"D:\testing");//获取D:\testing 目录的信息 if (!di.Exists)//如果没有该目录,则直接创建一个 { ...
阅读全文
摘要:在$.ajax代码的时候,两端差不多的代码,一段可以提交,另一段在后台怎么样也无法request到ajax post的数据: $.ajax({ type: "POST", url: window.prefixURL + '/CalendarHandler/InsertCalendarEventData2', contentType: 'application/json;charset=utf-8', data: { "data": myjson...
阅读全文
摘要:Could not complete the operation due to error80020101$.ajax({ type: "POST", url: window.prefixURL + '/CalendarHandler/InsertCalendarEventData2?callback=?', contentType: 'application/json;charset=utf-8', data: { "data": myjso...
阅读全文