03 2018 档案

摘要:private static string logPath = @"D:\LogS\Logs\"; public static string FloderPath { get { return logPath; } set { logPath = value; } } private static 阅读全文
posted @ 2018-03-27 15:25 GOGOGO陈 阅读(742) 评论(1) 推荐(0)
摘要://电商ID private string EBusinessID = "1257164"; //电商加密私钥,快递鸟提供,注意保管,不要泄漏 private string AppKey = "63a33b7c-464c-4de6-b4a3-6e1fc19da51c"; //请求url privat 阅读全文
posted @ 2018-03-20 16:23 GOGOGO陈 阅读(1542) 评论(3) 推荐(1)
摘要:由于使用 收费 第三方 屏蔽 可能有 免费 第三方。 private const string Cdkey = "8S*********************";密钥id private const string Password = "151515******";密钥密码 private con 阅读全文
posted @ 2018-03-20 16:12 GOGOGO陈 阅读(843) 评论(2) 推荐(0)
摘要:/// <summary> /// SMTP发送邮件 /// </summary> /// <param name="fromEmail">发送邮件地址</param> /// <param name="toEmail">收件箱</param> /// <param name="subject">邮 阅读全文
posted @ 2018-03-12 14:30 GOGOGO陈 阅读(625) 评论(1) 推荐(0)
摘要:public static string GetPostString(string urladdress, string @params) { string returnValue = null; using (WebClient client = new WebClient()) { client 阅读全文
posted @ 2018-03-12 10:48 GOGOGO陈 阅读(1507) 评论(0) 推荐(1)
摘要:1.Action、RenderAction加载办法的视图,履行Controller → Model → View的次序,然后把产生的页面带回到本来的View中再回传。而Partial、RenderPartial直接加载视图文件内容 2.Html.Partial可以直接供给用户控件名作为参数,而Htm 阅读全文
posted @ 2018-03-09 14:31 GOGOGO陈 阅读(558) 评论(0) 推荐(0)
摘要:Html.BeginForm Add:操作方法的名称,Activities:控制器的名称,FormMethod.Post:定义from的method的值,,new { id = "form1"}:指定form的id 后台 接收 submit 提交; [HttpPost] public ActionR 阅读全文
posted @ 2018-03-09 13:59 GOGOGO陈 阅读(4175) 评论(3) 推荐(0)