会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Johnny
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
26
27
28
29
30
31
32
33
34
···
41
下一页
2021年5月26日
前端静态服务器 serve
摘要: 全局安装 npm install -g servehttps://www.npmjs.com/package/serve 直接在当前根目录下 serve . 命令就行 优点:给来测dist服务器特别方便,发布前的测试,或者给产品测试验收,而你还需要开发环境的服务器敲代码时缺点:serve -s di
阅读全文
posted @ 2021-05-26 15:11 qingjiawen
阅读(407)
评论(0)
推荐(0)
2021年5月10日
[HttpPost]和[AcceptVerbs(HttpVerbs.Post)]区别
摘要: 1.共同点:[HttpPost]和[AcceptVerbs(HttpVerbs.Post)]都是只接受POST请求过来的数据。2.不同点:在MVC中如果想一个action既可以回应POST请求也可以回应GET请求那么我们应该怎么做呢?首先[HttpPost]和[HttpGet]是不能同时存在一个ac
阅读全文
posted @ 2021-05-10 17:21 qingjiawen
阅读(129)
评论(0)
推荐(0)
2021年4月28日
CSS position 详解
摘要: 一,position语法与结构 position 属性规定元素的定位类型。 position参数: static : 无特殊定位,对象遵循HTML定位规则 absolute : 将对象从文档流中拖出,使用left,right,top,bottom等属性进行绝对定位。而其层叠通过css z-index
阅读全文
posted @ 2021-04-28 22:03 qingjiawen
阅读(1417)
评论(0)
推荐(0)
ASP.NET MVC的 ActionResult跳转视图方法
摘要: action跳转分类 一、在同一控制器(Controllers)下的action跳转(不带参) 1.return Redirect(“Index”);Index本controller下,ActionResult的方法名称 2.return View(“Index”); *直接显示对应的页面Index
阅读全文
posted @ 2021-04-28 16:06 qingjiawen
阅读(895)
评论(0)
推荐(0)
html js打印
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-e
阅读全文
posted @ 2021-04-28 15:25 qingjiawen
阅读(107)
评论(0)
推荐(0)
2021年4月22日
C# 跳出循环几种方法详解
摘要: 推荐一款数据库管理工具Chat2DB 说明: break语句:终止并跳出循环体。continue语句:终止当前循环,重新开始一个新的循环。goto语句:跳转到指定位置 。 一,continue语句 class Program { static void Main(string[] args) { f
阅读全文
posted @ 2021-04-22 10:10 qingjiawen
阅读(31834)
评论(0)
推荐(1)
2021年4月21日
c# 下载文件封装方法
摘要: 一,普通下载(大文件会报内存错) /// <summary> /// 普通下载 /// </summary> /// <param name="FileName">文件虚拟路径</param> /// /// <param name="name">返回客户端名称</param> public sta
阅读全文
posted @ 2021-04-21 11:44 qingjiawen
阅读(229)
评论(0)
推荐(0)
2021年4月20日
c# MVC @Styles.Render @Scripts.Render 使用方法
摘要: 描述: 一、配置BundleConfig.cs文件 1、首先要在App_Start 里面BundleConfig.cs 文件里面 添加要包含的css文件 2、BundleConfig就是一个微软新加的 一个打包的配置类 3、BundleConfig用来Add 各种Bundle 4、BundleCon
阅读全文
posted @ 2021-04-20 18:04 qingjiawen
阅读(893)
评论(0)
推荐(0)
2021年4月19日
Excel汉字转拼音函数
摘要: 一,打开Excel 二,按“Alt+F11”组合键,进入Visual Basic编辑状态; 执行“插入→模块”命令,插入一个新模块。再双击插入的模块,进入模块代码编辑状态; Function pinyin(p As String) As String i = Asc(p) Select Case i
阅读全文
posted @ 2021-04-19 18:02 qingjiawen
阅读(11483)
评论(0)
推荐(0)
2021年4月16日
图片查看大图好的js插件
摘要: 一,viewerjs 下载 viewer GitHub 地址: JS 版本:https://github.com/fengyuanchen/viewerjs jQuery 版本:https://github.com/fengyuanchen/viewer 二,代码引用 viewer.min.css,
阅读全文
posted @ 2021-04-16 10:15 qingjiawen
阅读(536)
评论(0)
推荐(0)
上一页
1
···
26
27
28
29
30
31
32
33
34
···
41
下一页
公告