public string QianDao(string Lwr_PersonId, string Lwr_Date, string Lwr_StartTime, string Lwr_EndTime, string Lwr_Hour, string Lwr_BeiZhu, string Lwr_PersonStatus, string Lwr_UpTime, string Lwr_GpsStatus, string Lwr_MobileStatus, string Lwr_Power) { string result = ""; try { if (Data_dal.Insert_QianDao(ref err, Lwr_PersonId, Lwr_Date, Lwr_StartTime, Lwr_EndTime, Lwr_Hour, Lwr_BeiZhu, Lwr_PersonStatus, Lwr_UpTime, Lwr_GpsStatus, Lwr_MobileStatus, Lwr_Power) > 0) { result = @"[{""result"":成功}]"; } else { result = @"[{""result"":失败}]"; } } catch (Exception) { System.Web.HttpContext.Current.Response.Write("<script>alert(" + err + ")</script>"); } return(result); }