会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
双手插在裤兜谁也不爱
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2022年1月14日
css控制不溢出,不换行,溢出部分省略号显示:white-space:nowrap;text-overflow:ellipsis;overflow:hidden;
摘要: 一、text-overflow省略号样式语法结构 text-overflow语法:text-overflow : clip | ellipsis text-overflow参数值和解释:clip : 不显示省略标记(...),而是简单的裁切ellipsis : 当对象内文本溢出时显示省略标记(...
阅读全文
posted @ 2022-01-14 10:29 双手插在裤兜谁也不爱
阅读(445)
评论(0)
推荐(0)
2022年1月10日
.NET 生成二维码
摘要: 1. 从Nuget上找到这一个程序包(这个程序包兼容.net framework 4.7和.net core,之前引用过其他的程序包,发现并不兼容.net framework 4.7) 2.我重载了一个方法GenerateQRCode,用于生成带文字说明和不带文字说明的二维码。不带文字说明的二维码大
阅读全文
posted @ 2022-01-10 10:37 双手插在裤兜谁也不爱
阅读(394)
评论(0)
推荐(0)
2021年12月22日
C# 去掉数字型后面多余的0
摘要: eg:double n=2.50000; // or 250000 string resultstring=Format("{0:#.#}",n.) ; eg:decimal d=00500; d.ToString("0.##"); // .## 最多保留2位有效数字,但是不包含0。比如:d=0.5
阅读全文
posted @ 2021-12-22 10:47 双手插在裤兜谁也不爱
阅读(1667)
评论(0)
推荐(0)
2021年11月19日
纯css实现 移动端 左右滑动(隐藏滚动条)【转载 https://www.cnblogs.com/fanqiuzhuji/p/12626919.html】
摘要: /*方法一*/ .nav_mine { padding: 15px 20px; border-bottom: 1px solid #aca9a7; height: 75px; display: flex; align-items: center; overflow-y: hidden; flex-w
阅读全文
posted @ 2021-11-19 09:38 双手插在裤兜谁也不爱
阅读(476)
评论(0)
推荐(0)
2021年11月15日
各框架链接
摘要: 1、Layui 框架:http://layui-doc.pearadmin.com/doc/index.html 2、Bootstrap 框架:https://www.bootcss.com/ 3、Weui 框架:http://jqweui.com/
阅读全文
posted @ 2021-11-15 16:24 双手插在裤兜谁也不爱
阅读(46)
评论(0)
推荐(0)
.net 地址链接更改为 .html页面
摘要: public override void RegisterArea(AreaRegistrationContext context) { //职位详情地址更改为html context.MapRoute( name:"Job_Detail", //自己命名 url:"mojob_{id}.html"
阅读全文
posted @ 2021-11-15 16:16 双手插在裤兜谁也不爱
阅读(71)
评论(0)
推荐(0)
2021年8月13日
string.Format()
摘要: 汉字 四角码 eg:0,1,2,3,4,5,6,7,8,9 var zeroSijiao = ShuZiService.Fetch(new SqlInfo { ReturnFields = new List<string> { Define.ShuZiEntity.Field.Ncid, Defin
阅读全文
posted @ 2021-08-13 15:33 双手插在裤兜谁也不爱
阅读(38)
评论(0)
推荐(0)
2021年8月3日
汉字转编码 CodePointAt()
摘要: CodePointAt(0) //返回码点十进制值 eg: var a="?c"; a.CodePointAt(0); 如果想要十六进制可以使用toString(); eg: var a="?c"; a.CodePointAt(0).toString(16);
阅读全文
posted @ 2021-08-03 17:23 双手插在裤兜谁也不爱
阅读(103)
评论(0)
推荐(0)
编码转汉字
摘要: 方法一: HTML: @foreach (var itemkangxi in Model.shuKangxiEntitiesList) { <strong>&#@{@itemkangxi.Code};</strong> } 方法二: @foreach (var itemzidic in Model.
阅读全文
posted @ 2021-08-03 17:16 双手插在裤兜谁也不爱
阅读(93)
评论(0)
推荐(0)
十进制转化为十六进制
摘要: public static string tenToSixteen(int? code, int width) { int amount = (int)code; string current = ""; string codes = "0123456789ABCDEF"; // 设置16进制转换编
阅读全文
posted @ 2021-08-03 17:11 双手插在裤兜谁也不爱
阅读(171)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告