摘要: /// <summary> /// 绑定树节点 /// </summary> /// <param name="pid"></param> /// <param name="treeNode"></param> public void Band_TreeView(int pid,TreeNode t 阅读全文
posted @ 2020-01-07 10:35 看海- 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 跨域设置:(服务端) webconfig文件中,system.webServer节点下添加 <!--跨域请求:三个配置信息--> <httpProtocol> <customHeaders> <!--响应类型 (值为逗号分隔的一个字符串,表明服务器支持的所有跨域请求的方法)--> <add name 阅读全文
posted @ 2020-01-07 10:30 看海- 阅读(528) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 绑定树节点 /// </summary> /// <param name="pid"></param> /// <param name="treeNode"></param> public void Band_TreeView(int pid,TreeNode t 阅读全文
posted @ 2020-01-07 10:23 看海- 阅读(106) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { Dal dal = new MySql(); dal.Add(); Dal dal1 = new SqlServer(); dal1.Add(); Console.ReadKey(); } } int 阅读全文
posted @ 2020-01-07 10:19 看海- 阅读(194) 评论(0) 推荐(0) 编辑
摘要: //上传对象 var fd = new FormData(); fd.append("file", $("#FileImgs")[0].files[0]) //这里注意要使用formdate对象 $.ajax({ url: "上传路径", type: "post", data: fd, proces 阅读全文
posted @ 2020-01-07 10:15 看海- 阅读(87) 评论(0) 推荐(0) 编辑