摘要: CS0234: 命名空间“System.Web.Mvc”中不存在类型或命名空间名称“Ajax”(是否缺少程序集引用?) 阅读全文
posted @ 2016-12-28 20:59 星河mio 阅读(595) 评论(0) 推荐(0) 编辑
摘要: C#某次生成编号的方法、 阅读全文
posted @ 2016-12-28 09:51 星河mio 阅读(4337) 评论(0) 推荐(0) 编辑
摘要: 有时候,为了让格式统一,当位数不足时,给予补足。比如:2008-01-01 13:42:05,这其中就对月、日、秒进行了补位。 在 C# 中可以对字符串使用 PadLeft 和 PadRight 进行轻松地补位。 PadLeft(int totalWidth, char paddingChar) / 阅读全文
posted @ 2016-12-28 09:50 星河mio 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 假设当前页完整地址是:http://www.test.com/aaa/bbb.aspx?id=5&name=kelli "http://"是协议名 "www.test.com"是域名 "aaa"是站点名 "bbb.aspx"是页面名(文件名) "id=5&name=kelli"是参数 【1】获取 完 阅读全文
posted @ 2016-12-28 09:49 星河mio 阅读(646) 评论(0) 推荐(0) 编辑