2017年6月19日

摘要: PowerPoint.Application pptApplication = null; // 必须先运行幻灯片,下面才能获得PowerPoint应用程序,否则会出现异常 // 获得正在运行的PowerPoint应用程序 try { pptApplication = Marshal.GetActi 阅读全文
posted @ 2017-06-19 09:32 myis程序员编程本领强 阅读(199) 评论(0) 推荐(0) 编辑
摘要: //添加Form窗体,窗体中添加Image控件,单击弹出"PPT"信息提示 //命名引用:using MF = Microsoft.Vbe.Interop.Forms; private void AddOleForm(PowerPoint.Slide slide, string fileName, 阅读全文
posted @ 2017-06-19 09:30 myis程序员编程本领强 阅读(374) 评论(0) 推荐(0) 编辑

2015年11月2日

摘要: var sessionId = System.Web.HttpContext.Current.Response.Cookies[System.Web.Security.FormsAuthentication.FormsCookieName].Value; re... 阅读全文
posted @ 2015-11-02 13:36 myis程序员编程本领强 阅读(323) 评论(0) 推荐(0) 编辑

2015年10月10日

摘要: //修改推荐的信息 var productRe = db.Shop_ProductRecommends.Single(item => item.Id == model.Id); productRe.seat ... 阅读全文
posted @ 2015-10-10 19:11 myis程序员编程本领强 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1.添加单个模型(CreatRule()是构造模型)(Shop_ActivityRuleProduct是类)var rule = CreatRule(model); var ruled = db.Set().Add(rule);2.添加多个模型(CreateLa... 阅读全文
posted @ 2015-10-10 19:09 myis程序员编程本领强 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1.db.Database.BeginTransaction();2.public Result AddActivityProduct(ActivityRuleProductViewModel model) { Result result = new Result... 阅读全文
posted @ 2015-10-10 19:05 myis程序员编程本领强 阅读(316) 评论(0) 推荐(0) 编辑
摘要: function sendPostRequest(targetUrl, parameters, successCallback, errorCallback) { $.ajax({ type: "POST", url: targetUrl, data:... 阅读全文
posted @ 2015-10-10 18:52 myis程序员编程本领强 阅读(234) 评论(0) 推荐(0) 编辑
摘要: /// /// 返回处理过的时间的Json字符串/// /// 数据/// JSON数据public ContentResult JsonDate(object date){ JsonSerializerSettings MyJsonSerializerSettings = new JsonS... 阅读全文
posted @ 2015-10-10 18:48 myis程序员编程本领强 阅读(131) 评论(0) 推荐(0) 编辑

导航