摘要:
轻松实现验证码,以此为基础,什么高大上验证码万变不离其中,有注释的喔:-O;生成验证码: public void Validate() { Random r = new Random(); string str = null; ... 阅读全文
posted @ 2015-07-28 16:59
我_爱编程
阅读(700)
评论(2)
推荐(2)
摘要:
上传图片全不怕,轻松实现图片上传, 可以实现显示缩略图喔: 后台代码: protected void btnpic_upload_Click(object sender, EventArgs e) { #region 上传文件 Bo... 阅读全文
posted @ 2015-07-28 16:34
我_爱编程
阅读(637)
评论(0)
推荐(0)
摘要:
c#方法一: TransactionOptions transactionOption = new TransactionOptions(); //设置事务隔离级别 transactionOption.IsolationLevel = Syst... 阅读全文
posted @ 2015-07-28 15:22
我_爱编程
阅读(3622)
评论(1)
推荐(1)
摘要:
Mvc中:session:if (!string .IsNullOrEmpty(find)) //设置Session["oip"] = "无锡";ViewBag.oip =Session["oip"];if (Session["oip"] == null) //获取Session... 阅读全文
posted @ 2015-07-28 15:07
我_爱编程
阅读(1028)
评论(0)
推荐(1)

浙公网安备 33010602011771号