摘要: 绑定datagriview Uri uri = new Uri("http://localhost:49423");//地址 HttpClient clien = new HttpClient(); clien.BaseAddress = uri; clien.DefaultRequestHeade 阅读全文
posted @ 2017-11-19 20:10 姚公子 阅读(858) 评论(0) 推荐(0) 编辑
摘要: 添加引用:cors using system.web.http.cors API添加这句话: [EnableCors("*", "*", "*")] api的控制器添加: config.EnableCors();///自己写的 ///////////////////批量添加前台 @{ Layout 阅读全文
posted @ 2017-11-19 19:43 姚公子 阅读(487) 评论(1) 推荐(0) 编辑
摘要: 存储过程if (object_id('proc_find_stu', 'P') is not null) drop proc proc_find_stugocreate proc proc_find_stu(@startId int, @endId int,@outID int output)as 阅读全文
posted @ 2017-11-19 19:22 姚公子 阅读(525) 评论(1) 推荐(1) 编辑