摘要: 删除 阅读全文
posted @ 2017-12-13 11:49 enych 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 删除方法 阅读全文
posted @ 2017-12-13 08:25 enych 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 读取数据 var model = db.Database.SqlQuery<类>("exec 存储过程名字 @type,@town,@village", paras).ToList(); 执行存储过程 var data = db.Database.SqlQuery< 类 >("select * .. 阅读全文
posted @ 2017-12-11 17:24 enych 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 项目右键 管理NuGet 程序包 ; 添加EntityFramework ef框架 编写BookDB类;继承DbContext Book类 配置文件添加 <connectionStrings> <add name="BookDB" connectionString="server=.;uid=sa; 阅读全文
posted @ 2017-12-07 10:09 enych 阅读(185) 评论(0) 推荐(0) 编辑
摘要: LibraryEntities db = new LibraryEntities(); private void btnSelect_Click(object sender, EventArgs e) { //查询语句 List book = db.BookInfo.ToList(); ... 阅读全文
posted @ 2017-12-05 11:15 enych 阅读(195) 评论(0) 推荐(0) 编辑
摘要: jQuery(document).ready(function () { $.ajax({ url: 'http://v.juhe.cn/sms/send?callback=callback', dataType: 'jsonp', jsonp: 'callback', ... 阅读全文
posted @ 2017-12-04 08:42 enych 阅读(141) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Text; using Sy... 阅读全文
posted @ 2017-12-01 15:14 enych 阅读(610) 评论(0) 推荐(0) 编辑
摘要: Jq代码 用户信息类 /// /// 包含用户的基本信息 /// public class Person { /// /// 获取或设置用户名 /// public string Name { get; set; } /// /// 获取或设置用户年龄 /// public int Age { get; set; ... 阅读全文
posted @ 2017-12-01 10:04 enych 阅读(1199) 评论(0) 推荐(0) 编辑
摘要: var xhr1 = function () { if (typeof XMLHttpRequest != 'undefined') { return new XMLHttpRequest(); } }(); var xhr2 = (function () { if (typeof XMLHttpR 阅读全文
posted @ 2017-11-30 17:53 enych 阅读(357) 评论(0) 推荐(0) 编辑
摘要: layer.closeAll(); //疯狂模式,关闭所有层 layer.closeAll('dialog'); //关闭信息框 layer.closeAll('page'); //关闭所有页面层 layer.closeAll('iframe'); //关闭所有的iframe层 layer.clos 阅读全文
posted @ 2017-11-30 14:26 enych 阅读(15599) 评论(0) 推荐(0) 编辑