会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hello,World
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2016年2月2日
webApi 数据绑定 获取
摘要: 直接上代码: 1 <html> 2 <head> 3 <meta name="viewport" content="width=device-width" /> 4 <script src="~/Scripts/jquery-1.8.2.js"></script> 5 <script> 6 func
阅读全文
posted @ 2016-02-02 17:53 the boy、图样图森破
阅读(851)
评论(0)
推荐(0)
2016年1月31日
EF Code First 常用命令
摘要: 1.Enable-Migrations 开启版本库 2. Add-Migration addname 新增版本 3.Update-Database –TargetMigration: addname 更新版本至addname(用于版本的切换) 4.Update-Database -Script -S
阅读全文
posted @ 2016-01-31 14:28 the boy、图样图森破
阅读(340)
评论(0)
推荐(0)
2014年11月12日
[解决WebClient或HttpWebRequest首次连接缓慢问题]
摘要: 【编程环境】Visual Studio 2010, NET4.0【开发语言】C#, 理论上VB.NET等依赖.NET Framework框架的语言均受此影响【问题描述】使用HttpWebRequest抓取网页内容,但首次请求总是莫名奇妙的阻塞在Request.GetResponse();上,不过一旦...
阅读全文
posted @ 2014-11-12 22:04 the boy、图样图森破
阅读(211)
评论(0)
推荐(0)
2014年10月21日
【转】Entity Framework技术系列之7:LINQ to Entities
摘要: 前言LINQ(Language Integrated Query,语言集成查询)是一组用于C#和VB.NET语言的扩展,它允许编写C#或者VB.NET代码,以与查询数据库相同的方式操作内存数据。 LINQ提Entity Framework技术系列之7:LINQ to Entities供了丰富的类似S...
阅读全文
posted @ 2014-10-21 14:50 the boy、图样图森破
阅读(165)
评论(0)
推荐(0)
2014年10月16日
Ajax方法提交整个表单的信息
摘要: $.ajax({cache:true,type:"POST",url:ajaxCallUrl,data:$('#yourformid').serialize(),//你的formidasync:false,error:function(request){alert("Connectionerror"...
阅读全文
posted @ 2014-10-16 10:09 the boy、图样图森破
阅读(130)
评论(0)
推荐(0)
2014年10月14日
【转】MVC中处理Json和JS中处理Json对象
摘要: 事实上,MVC中已经很好的封装了Json,让我们很方便的进行操作,而不像JS中那么复杂了。MVC中: public JsonResult Test() { JsonResult json = new JsonResult ...
阅读全文
posted @ 2014-10-14 17:15 the boy、图样图森破
阅读(170)
评论(0)
推荐(0)
2014年10月8日
上传文件时自动生成文件夹
摘要: #region 返回当前日期的文件夹 /// ///上传文件时自动生成文件夹 /// /// 要保存的路径 /// 返回生成的文件夹 public static string CreateDis(string path) { String st...
阅读全文
posted @ 2014-10-08 19:09 the boy、图样图森破
阅读(395)
评论(0)
推荐(0)
正则验证
摘要: functionregExp(reg,str){if(reg.test(str)){returntrue;}else{returnfalse;}}
阅读全文
posted @ 2014-10-08 19:06 the boy、图样图森破
阅读(115)
评论(0)
推荐(0)
ASP.NET实现验证码
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Draw...
阅读全文
posted @ 2014-10-08 19:05 the boy、图样图森破
阅读(149)
评论(0)
推荐(0)
ASP.NET发送邮件(QQ发送)
摘要: public void SetEmail() { //电子邮件对象 MailMessage mailMessage = new MailMessage(); ///发件人(网站管理员) mailMessage.From = new MailAddress...
阅读全文
posted @ 2014-10-08 19:04 the boy、图样图森破
阅读(195)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告