摘要:
在Ubuntu中安装Nginx可以通过APT包管理器进行。以下是在Ubuntu中安装Nginx的步骤: 1.更新软件包列表:首先,打开终端并更新您的软件包列表,以确保您安装的是最新的软件包。 sudo apt update 2.安装Nginx:接下来,使用APT包管理器安装Nginx。sudo ap 阅读全文
摘要:
昨天我链接成功了,今天又重新链接,竟然又失败了,现在做一下记录,以后也可以翻看;(参考链接: https://blog.csdn.net/hwt0101/article/details/112527027#:~:text=%E6%96%B9%E6%B3%95%2F%E6%AD%A5%E9%AA%A4 阅读全文
摘要:
先添加这两个开发包: 这是配置文件; { "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "name": { "name" 阅读全文
摘要:
构建容器 docker build -t getting-started . (getting-started:容器名字; .:当前目录; ) 运行容器 docker run -dp 3000:3000 getting-started (-dp 3000:3000 主机到容器之间的端口映射3000到 阅读全文
摘要:
<input type="text" placeholder='Enter your username'></input> 效果如下: 阅读全文
摘要:
$("#fm_jx_payment_d").datagrid('endEdit', rowIndex); 阅读全文
摘要:
$("#dg").datagrid({ ...... , onLoadSuccess:function(data){ for(let i=0;i<data.rows.length;i++){ var rows = data.rows[i]; //禁用datagrid的checkbox $(".dat 阅读全文
摘要:
select Age1 from Student where Name = '张三' create nonclustered index Tw on Student(Name) include(Age1) 创建索引时,可以加上这个 include(Age1) 阅读全文
摘要:
option (recompile)使用在语句 select * from Student where id =1 option (recompile) 使用在存储过程 create proc proc_test (@i int) with recompile as select * from St 阅读全文
摘要:
exec 是解决存储过程parameter sniffer 的方式之一; 用法例子: Declare @sql varchar(1000); set @sql = 'select * from Student'; exec (@sql); 阅读全文