摘要: 字符串转为数组 string str = "1,2,3,4"; string[] strArr = str.Split(','); 数组转为字符串 string[] scoresArr = { "1", "2", "3", "4", "5" }; string scores = string.Joi 阅读全文
posted @ 2021-07-21 11:08 双手插在裤兜谁也不爱 阅读(252) 评论(0) 推荐(0)
摘要: //10进制转为16进制 (10).toString(16) // =>"a" //8进制转为16进制 (012).toString(16) // =>"a" //16进制转为10进制 (0x16).toString(10) // =>"22" //16进制转为8进制 (0x16).toString 阅读全文
posted @ 2021-07-19 11:07 双手插在裤兜谁也不爱 阅读(87) 评论(0) 推荐(0)
摘要: 1、如果app_code 里面建立的类是静态的(static) namespace Hrms.WebSoft.App_Code{public static class SoftDownSize{public static string DownSize(long size){string softS 阅读全文
posted @ 2021-06-29 10:45 双手插在裤兜谁也不爱 阅读(125) 评论(0) 推荐(0)
摘要: 1、app_code文件夹中可以直接存储源代码。Web Site在运行时将会自动对这些代码进行编译。Web 应用程序中的其他任何代码都可以访问其产生的程序集。因此,App_Code文件夹的工作方式与 Bin 文件夹很类似,不同之处是你可以在其中存储源代码而非已编译的代码。App_Code文件夹及其在 阅读全文
posted @ 2021-06-29 09:01 双手插在裤兜谁也不爱 阅读(457) 评论(0) 推荐(0)
摘要: <button class="layui-btn layui-btn-primary layui-col-md-offset8" lay-active="dropDownContent"> <i class="layui-icon layui-icon-app layui-bg-white"></i 阅读全文
posted @ 2021-06-17 14:30 双手插在裤兜谁也不爱 阅读(417) 评论(0) 推荐(0)
摘要: 一、声明后未赋值,表现相同 https://blog.csdn.net/lyc2786161648/article/details/86429375 var varTest; let letTest; console.log(varTest); //输出undefined console.log(l 阅读全文
posted @ 2021-06-07 15:41 双手插在裤兜谁也不爱 阅读(88) 评论(0) 推荐(0)
摘要: 1、所有代码写在layui.use()里面。 2、触发事件(util)。https://www.layui.com/doc/modules/util.html <button class="layui-btn layui-btn-radius layui-btn-primary layui-col- 阅读全文
posted @ 2021-06-06 17:37 双手插在裤兜谁也不爱 阅读(1138) 评论(0) 推荐(0)
摘要: 连接数据库: 在app.config或web.config文件中添加数据库连接串。 连接SQL Server: <connectionStrings> <add name="DefaultConnection" connectionString="Data Source=服务器;Initial Ca 阅读全文
posted @ 2021-06-06 17:18 双手插在裤兜谁也不爱 阅读(306) 评论(0) 推荐(0)