sunny123456

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2021年3月17日

摘要: https://www.cnblogs.com/linxixinxiang/p/11315615.html var a='12,13,14,15';现在想把字符串替换,号为- jquery中的replace方法:a.replace(",","-");只能替换掉第一个,号。即,结果为12-13,14, 阅读全文
posted @ 2021-03-17 23:50 sunny123456 阅读(905) 评论(0) 推荐(0) 编辑

摘要: https://www.jb51.net/article/117194.htm 一,引入dll 1.ServiceStack.Common.dll 2.ServiceStack.Interfaces.dll 3.ServiceStack.Redis.dll 4.ServiceStack.Text.d 阅读全文
posted @ 2021-03-17 23:45 sunny123456 阅读(702) 评论(0) 推荐(0) 编辑

摘要: https://www.jb51.net/article/130243.htm 今天练习C#的一个功能,就是将一个字符串时行翻转显示 如: string str = "Insus.NET"; 翻转成为: string str = "TEN.susnI"; 方法与写法很多。 方法一: ?1234567 阅读全文
posted @ 2021-03-17 23:43 sunny123456 阅读(1259) 评论(0) 推荐(0) 编辑

摘要: 用普通的ajax提交表单的时候,不能把文件流传到后端去,所以要用到jquery.form.js jquery.form.js到官网下载或者从这里下载:http://pan.baidu.com/s/1c2JS60C 引用js文件包:jquery.form.js可以下载 http://malsup.co 阅读全文
posted @ 2021-03-17 23:40 sunny123456 阅读(144) 评论(0) 推荐(0) 编辑

摘要: https://www.cnblogs.com/codefly/articles/11045133.html WebApi和MVC的区别 MVC主要用来构建网站,既关心数据也关心页面展示,而Web API只关注数据 Web API支持格式协商,客户端可以通过Accept header通知服务器期望的 阅读全文
posted @ 2021-03-17 23:18 sunny123456 阅读(456) 评论(0) 推荐(0) 编辑

摘要: https://www.cnblogs.com/sxkang/p/13361068.html 文件上传: 视图 view: @{ ViewBag.Title = "Index";} <h2>文件管理</h2> <form enctype="multipart/form-data"> <input i 阅读全文
posted @ 2021-03-17 23:04 sunny123456 阅读(501) 评论(0) 推荐(0) 编辑

摘要: https://blog.csdn.net/sinat_16998945/article/details/81125950 界面如下图: HTML代码如下: <html ><head > <!-- 引入jquery ajaxfileupload.js --> <!-- ajaxfileupload. 阅读全文
posted @ 2021-03-17 09:02 sunny123456 阅读(772) 评论(0) 推荐(1) 编辑

摘要: https://blog.csdn.net/kongwei521/article/details/52910970 Html 代码及调用方法: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server 阅读全文
posted @ 2021-03-17 08:33 sunny123456 阅读(435) 评论(0) 推荐(0) 编辑