数字转中文金额大写输出
摘要:数字转中文金额大写输出: public string ToChineseAmount(decimal number) { string s = number.ToString("#L#E#D#C#K#E#D#C#J#E#D#C#I#E#D#C#G#E#D#C#F#E#D#C#.0B0A"); str
阅读全文
posted @
2026-03-21 18:05
wakaka_wka
阅读(4)
推荐(0)
C# 生成有序Guid的几种方法
摘要:public sealed class SequentialGuid { //使用 Guid.NewGuid() 的字节重排 /// <summary> /// 优点及适用场景: /// 1.系统只在应用层生成GUID,追求极致的插入性能和最低的索引碎片 /// 2.系统并发量极高,需要最高的时间戳
阅读全文
posted @
2025-11-11 12:10
wakaka_wka
阅读(61)
推荐(0)
SQLite 连接串说明
摘要:Basic Data Source=c:\mydb.db;Version=3; Version 2 is not supported by this class library. SQLite In-Memory Database An SQLite database is normally sto
阅读全文
posted @
2025-11-10 15:00
wakaka_wka
阅读(15)
推荐(0)
HttpWebRequest 请求被中止: 未能创建 SSL/TLS 安全通道
摘要:在HttpWebRequest前设置代码 ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtoco
阅读全文
posted @
2022-10-17 12:30
wakaka_wka
阅读(332)
推荐(0)
Excel 列序数转列字母表达
摘要:1 function printString(n){ 2 let arr = []; 3 let i = 0; 4 5 // Step 1: Converting to number assuming 6 // 0 in number system 7 while (n) { 8 arr[i] =
阅读全文
posted @
2022-04-18 11:38
wakaka_wka
阅读(125)
推荐(1)
SQL Server 计算经纬度直线距离
摘要:declare @Lng decimal(18,6)=114.059920--经度declare @Lat decimal(18,6)=22.544884--纬度 declare @GPSLng decimal(18,6)=114.056300--经度declare @GPSLat decimal(
阅读全文
posted @
2022-04-15 23:23
wakaka_wka
阅读(302)
推荐(0)
IIS上传文件报 413 Request Entity Too Large
摘要:IIS上传文件报 413 Request Entity Too Large_故事里的小五-博客专区-CSDN博客 IIS上传文件报413错误解决方案问题说明解决方案问题说明错误提示:(413) Request Entity Too Large意思是上传文件过大,被服务器拒绝 解决方案步骤1:编辑C:
阅读全文
posted @
2021-08-03 01:36
wakaka_wka
阅读(765)
推荐(0)
This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them
摘要:1.将项目单独打开,并保存好 .sln文件 2.重新加载 .sln文件,并打开包管理器控制台 3.运行如下命令以还原包: Update-Package -reinstall -ProjectName 你的项目名
阅读全文
posted @
2021-07-25 16:06
wakaka_wka
阅读(281)
推荐(0)
HttpClient PostAsJsonAsync 实现
摘要:public static async Task<HttpResponseMessage> PostAsJsonAsync<TModel>(this HttpClient client, string requestUrl, TModel model) { var serializer = new
阅读全文
posted @
2021-04-29 18:27
wakaka_wka
阅读(974)
推荐(0)
DbMon
摘要:http://www.codeproject.com/KB/trace/DbMonNET.aspx https://embracethered.com/blog/posts/2020/chrome-spy-remote-control/
阅读全文
posted @
2021-04-13 00:33
wakaka_wka
阅读(42)
推荐(0)
组合生成
摘要:// C# program to find // combinations from n // arrays such that one // element from each // array is present using System; using System.Collections.G
阅读全文
posted @
2021-01-03 13:49
wakaka_wka
阅读(99)
推荐(0)
Url.Action 指定 Area 和 Controller
摘要:@Url.Action("{action}", "{controller}", new { Area = "areaname" }); @Html.ActionLink("LinkName", "{action}", "{controller}", new { area = "{areaname}"
阅读全文
posted @
2020-07-23 11:08
wakaka_wka
阅读(517)
推荐(0)
ILMerge-GUI的使用
摘要:去这里下载: 这里下载ILMerge,http://www.microsoft.com/en-us/download/details.aspx?id=17630 这里下载ILMerge-GUI,http://ilmergegui.codeplex.com/ 这两部分都是必须的,第一个是命令行的,不好
阅读全文
posted @
2020-03-04 01:08
wakaka_wka
阅读(611)
推荐(0)