摘要:
1、安装docker 进入宝塔页面,在商店搜索docker,选择第一个安装即可 2、拉取青龙镜像 docker run -dit \ -v $PWD/ql/config:/ql/config \ -v $PWD/ql/log:/ql/log \ -v $PWD/ql/scripts:/ql/scri 阅读全文
摘要:
1..IP+SID方式 代码如下: DbHelperOracle.connectionString = string.Format(@"Data Source=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = {0})(P 阅读全文
摘要:
nginx作为反向代理服务器时,报错: upstream timed out (110: Connection timed out)…… 经过百度,google看到都是修改nginx配置,解决超时问题,比如: large_client_header_buffers 4 16k; client_max 阅读全文
摘要:
while (!Console.ReadLine().ToUpper().Contains("CLOSE")) continue; Environment.Exit(0); 最新多用到控制台程序,经常遇到现场手误退出的情况。增加这个逻辑,防止退出 阅读全文
摘要:
public static string MidStrEx(string sourse, string startstr, string endstr) { string result = sourse; int startindex, endindex; startindex = sourse.I 阅读全文
摘要:
老外的解释:The DataGridView is a common .Net control used to display and permit editing of tabular data. It can be filled in via code or by attaching a dat 阅读全文
摘要:
1.添加引用,我这里哟那的是3.0.7版本: 2.直接上代码: private static readonly string tiggerName = "TestJobTrigger"; private static readonly string gropName = "TestJobTrigge 阅读全文
摘要:
private void dataGridView1_RowStateChanged(object sender, DataGridViewRowStateChangedEventArgs e) { e.Row.HeaderCell.Value = string.Format("{0}", e.Ro 阅读全文
摘要:
陆陆续续写了几个程序,批量导入之后总会遇到这么几台报错的,然后一看就发现是车间设备系统时间格式不同。 所以,本着为现场排忧解难的态度(其实就是懒),格式化时间好了。 代码附上: if (DateTimeFormatInfo.CurrentInfo != null) { var type = Date 阅读全文
摘要:
product code: 4vkjwhfeh3ufnqnmpr9brvcuyujrx3n3le serial Number:226959 password: xs374ca 阅读全文