12 2017 档案

摘要:List list = new List(); for (int i = 1; i < 5; i++) { ReceiptTableDetail model = new ReceiptTableDetail(); model.FeeName = ((... 阅读全文
posted @ 2017-12-27 17:26 enych 阅读(377) 评论(0) 推荐(0) 编辑
摘要:int left = 39; int top = 39; 阅读全文
posted @ 2017-12-25 13:09 enych 阅读(155) 评论(0) 推荐(0) 编辑
摘要://窗体加载事件 //内容居中 dataGridView1.RowsDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; //列名居中 dataGridView1.ColumnHeadersDefaultCel 阅读全文
posted @ 2017-12-22 10:09 enych 阅读(307) 评论(0) 推荐(0) 编辑
摘要:private void button1_Click(object sender, EventArgs e) { //查询数据库内容并绑定 string sql= "select* from employee"; dataGridView1.DataSource = SqliteHelper.Exe 阅读全文
posted @ 2017-12-20 14:26 enych 阅读(223) 评论(0) 推荐(0) 编辑
摘要://使用getJSON AJAX 阅读全文
posted @ 2017-12-15 09:34 enych 阅读(1599) 评论(0) 推荐(0) 编辑
摘要:General; Request URL; Request Method: Status Code: Remote Address: Response Headers; Cache-Control: Content-Length: Content-Type: Date: Server: X-Powered-By: R... 阅读全文
posted @ 2017-12-14 16:26 enych 阅读(135) 评论(0) 推荐(0) 编辑
摘要:$(function(){ $("#btn_login").click(function() { var anv=$("#an").val(); //登录名 var pwv=$("#pw").val(); //登录密码 if (anv=='' || /\'/g.test(anv)) { //判断登录名为空 或 用户名包含... 阅读全文
posted @ 2017-12-13 16:37 enych 阅读(731) 评论(0) 推荐(0) 编辑
摘要:删除 阅读全文
posted @ 2017-12-13 11:49 enych 阅读(231) 评论(0) 推荐(0) 编辑
摘要:删除方法 阅读全文
posted @ 2017-12-13 08:25 enych 阅读(178) 评论(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 阅读(425) 评论(0) 推荐(0) 编辑
摘要:项目右键 管理NuGet 程序包 ; 添加EntityFramework ef框架 编写BookDB类;继承DbContext Book类 配置文件添加 <connectionStrings> <add name="BookDB" connectionString="server=.;uid=sa; 阅读全文
posted @ 2017-12-07 10:09 enych 阅读(188) 评论(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 阅读(197) 评论(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 阅读(142) 评论(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 阅读(618) 评论(0) 推荐(0) 编辑
摘要:Jq代码 用户信息类 /// /// 包含用户的基本信息 /// public class Person { /// /// 获取或设置用户名 /// public string Name { get; set; } /// /// 获取或设置用户年龄 /// public int Age { get; set; ... 阅读全文
posted @ 2017-12-01 10:04 enych 阅读(1201) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示