01 2016 档案

摘要:定义跨域handle public class CorsHandler : DelegatingHandler { const string Origin = "Origin"; const string AccessControlRequestMethod = "Access-Control-Re 阅读全文
posted @ 2016-01-30 15:57 wujf 阅读(1162) 评论(0) 推荐(0) 编辑
摘要:webapi代码如下: public string Get(int id) { var callback = HttpContext.Current.Request["callback"]; var u = new User { Name = "AA", Age = id }; var result 阅读全文
posted @ 2016-01-30 15:18 wujf 阅读(494) 评论(0) 推荐(0) 编辑
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Net.Http.Formatting; 4 using System.Web.Http; 5 6 namespace MvcTest 7 { 8 pub... 阅读全文
posted @ 2016-01-10 14:33 wujf 阅读(557) 评论(0) 推荐(0) 编辑
摘要:DROP PROCEDURE PROC_Z4;CREATE PROCEDURE proc_z4()BEGIN DECLARE card CHAR(20); DECLARE count INT; SELECT count(*) INTO count FROM Z4; ... 阅读全文
posted @ 2016-01-08 17:22 wujf 阅读(173) 评论(0) 推荐(0) 编辑
摘要:存储过程代码如下:CREATE PROCEDURE proc_sum2(IN n INT,OUT sum INT,OUT j INT)BEGIN DECLARE i INT; SET i=1; SET sum=0; SET j=111; WHILE i<=n d... 阅读全文
posted @ 2016-01-08 15:34 wujf 阅读(3250) 评论(0) 推荐(0) 编辑

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