摘要:
PowerPoint.Application pptApplication = null; // 必须先运行幻灯片,下面才能获得PowerPoint应用程序,否则会出现异常 // 获得正在运行的PowerPoint应用程序 try { pptApplication = Marshal.GetActi 阅读全文
摘要:
//添加Form窗体,窗体中添加Image控件,单击弹出"PPT"信息提示 //命名引用:using MF = Microsoft.Vbe.Interop.Forms; private void AddOleForm(PowerPoint.Slide slide, string fileName, 阅读全文
摘要:
var sessionId = System.Web.HttpContext.Current.Response.Cookies[System.Web.Security.FormsAuthentication.FormsCookieName].Value; re... 阅读全文
摘要:
//修改推荐的信息 var productRe = db.Shop_ProductRecommends.Single(item => item.Id == model.Id); productRe.seat ... 阅读全文
摘要:
1.添加单个模型(CreatRule()是构造模型)(Shop_ActivityRuleProduct是类)var rule = CreatRule(model); var ruled = db.Set().Add(rule);2.添加多个模型(CreateLa... 阅读全文
摘要:
1.db.Database.BeginTransaction();2.public Result AddActivityProduct(ActivityRuleProductViewModel model) { Result result = new Result... 阅读全文
摘要:
function sendPostRequest(targetUrl, parameters, successCallback, errorCallback) { $.ajax({ type: "POST", url: targetUrl, data:... 阅读全文