上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
摘要: @{ Layout = null; } Add 测试按钮 阅读全文
posted @ 2016-07-30 23:43 黄者之风 阅读(454) 评论(0) 推荐(0) 编辑
摘要: jQuery获取Select元素,并选择的Text和Value: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find("opt 阅读全文
posted @ 2016-07-05 13:11 黄者之风 阅读(461) 评论(0) 推荐(0) 编辑
摘要: public ActionResult Index() { MailMessage mailMessage = new MailMessage();//导入system.net这个Assembly mailMessage.From = new MailAddress("发件人邮箱地址","我是谁"); mailMessage.To.Add(new MailAddress(... 阅读全文
posted @ 2016-06-24 23:16 黄者之风 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 废话不多说,直接上代码: SQL存储过程: SQL调用: declare @count intexec usp_PagingLarge '表1,表2,表3','表1 主键','要添加的字段',10,1,'条件,多条件时用and连接','','排序字段 desc',@RecordCount=@coun 阅读全文
posted @ 2016-06-15 23:27 黄者之风 阅读(2253) 评论(1) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2016-05-23 12:44 黄者之风 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 当微信用户发送信息或事件方式发送过来时,即为post请求一、获取用户发送过来的信息(有文本、图片语音、视频等等) 二、回复用户信息(有文本、图片语音、视频等等) 阅读全文
posted @ 2016-05-23 11:35 黄者之风 阅读(393) 评论(0) 推荐(0) 编辑
摘要: /// /// 登录首页 /// /// public ActionResult Index() { if (Session["isTrue"] == null) { string weixinAppid = System.Configuration.ConfigurationManager.AppSettings["weixinAppid"]; ... 阅读全文
posted @ 2016-05-23 11:34 黄者之风 阅读(4290) 评论(0) 推荐(1) 编辑
摘要: 一.第一步:填写服务器配置进入微信公众平台后,点击基本配置--修改配置1.将URL(服务器地址)修改为我们的服务器地址,如:http://xxx.xxx.com/Login/LoginWeiXin,此URL地址用于微信服务器验证我们的地址是否可用以及微信服务器的所有消息都会发到此地址上;2.填写To 阅读全文
posted @ 2016-05-23 11:33 黄者之风 阅读(647) 评论(0) 推荐(0) 编辑
摘要: public class ErrorAttribute : HandleErrorAttribute { public override void OnException(ExceptionContext filterContext) { base.OnException(filterContext); string path = filterC... 阅读全文
posted @ 2016-05-21 00:11 黄者之风 阅读(141) 评论(0) 推荐(0) 编辑
摘要: --增加 create proc usp_insertToText @productName nvarchar(20), @unit nvarchar(20), @usitPrice decimal as begin insert into TEST1 output inserted.ProductID values(@productName,@unit,@usitPrice) end ... 阅读全文
posted @ 2016-03-29 23:59 黄者之风 阅读(369) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页