- 博客(9)
- 收藏
- 关注
转载 JS 页面繁简字转换
// 本js用于客户在网站页面选择繁体中文或简体中文显示,默认是正常显示,即简繁体同时显示// 在用户第一次访问网页时,会自动检测客户端语言进行操作并提示.此功能可关闭// 本程序只在UTF8编码下测试过,不保证其他编码有效// -------------- 以下参数大部分可以更改 --------------------//s = simplified 简体中文 t = traditi...
2019-07-08 13:34:00 1064
转载 Java Pom.xml 详解
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven...
2018-07-16 09:32:00 168
转载 文件 日志 写入 与读取
private static string logPath = @"D:\LogS\Logs\"; public static string FloderPath { get { return logPath; } set {...
2018-03-27 15:25:00 198
转载 快递查询 C#
//电商ID private string EBusinessID = "1257164"; //电商加密私钥,快递鸟提供,注意保管,不要泄漏 private string AppKey = "63a33b7c-464c-4de6-b4a3-6e1fc19da51c"; //请求url private string ...
2018-03-20 16:23:00 243
转载 C# 发送手机短信
由于使用 收费 第三方 屏蔽 可能有 免费 第三方。private const string Cdkey = "8S*********************";密钥id private const string Password = "151515******";密钥密码 private const string BaseUrl = "http...
2018-03-20 16:12:00 140
转载 通过smtp直接发送邮件
/// <summary> /// SMTP发送邮件 /// </summary> /// <param name="fromEmail">发送邮件地址</param> /// <param name="toEmail">收件箱</param> ...
2018-03-12 14:30:00 767
转载 C# 带参访问接口,WebClient方式
public static string GetPostString(string urladdress, string @params) { string returnValue = null; using (WebClient client = new WebClient()) { ...
2018-03-12 10:48:00 131
转载 ASP.NET MVC 中@Html.Partial,@Html.Action,@Html.RenderPartial,@Html.RenderAction
1.Action、RenderAction加载办法的视图,履行Controller → Model → View的次序,然后把产生的页面带回到本来的View中再回传。而Partial、RenderPartial直接加载视图文件内容2.Html.Partial可以直接供给用户控件名作为参数,而Html.Action须要有对应的Action,在Action内部返回PartailResul...
2018-03-09 14:31:00 190
转载 asp.net mvc Html.BeginForm()及Html.Action用法
Html.BeginForm Add:操作方法的名称,Activities:控制器的名称,FormMethod.Post:定义from的method的值,,new { id = "form1"}:指定form的id后台 接收 submit 提交;[HttpPost] public ActionResult Add(FormCollection f...
2018-03-09 13:59:00 181
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人