上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
摘要: 临时字段格式 字段名=N'字段值' 例子如下: select cEmp_C, cEmp_N, oper_id=N'001', log_pw=N'123', sSex, cDept_C, cDept_N, sStatus from f_t_employee 阅读全文
posted @ 2017-11-20 15:15 奥雷连诺 阅读(2220) 评论(0) 推荐(0)
摘要: 解决方法: 第一步 安装SDK 第二步 将包含的api放在第一项 阅读全文
posted @ 2017-09-25 13:56 奥雷连诺 阅读(1034) 评论(0) 推荐(0)
摘要: 在release下程序运行总是崩溃;debugView输出了这个崩溃信息, 1. 一开始是release看崩溃,各种二分法找崩溃点,太玄没找到; 2. 终于想到可以调试,我草,调试一下瞬间发现某个class 析构函数崩溃; 3. 想到以前遇到过.h和class不匹配的问题,原因是.h总是会拷贝到in 阅读全文
posted @ 2017-06-09 21:47 奥雷连诺 阅读(2515) 评论(0) 推荐(0)
摘要: 使用继承CWnd的控件,总是有边框,使用 ModifyStyle(WS_BORDER,0); 不能去掉边框,包括SetWindowLong设置去掉WS_BORDER, 也不行。 最后找到了方法就是ModifyStyleEx(WS_EX_CLIENTEDGE, NULL, SWP_DRAWFRAME) 阅读全文
posted @ 2017-03-10 19:09 奥雷连诺 阅读(2811) 评论(0) 推荐(0)
摘要: 不小心手贱修改了密码,而且使用phpMyAdmin这种自动生成密码,又没记录密码,真实醉了 搜了半天,问题多多,想过回滚磁盘到昨天,在阿里云已经买了付费找密码 最后终于自己解决了,其实很简单 cd /ect vi my.cnf 在[mysqld]末尾加上 skip-grant-tables 我是注释 阅读全文
posted @ 2017-02-28 00:48 奥雷连诺 阅读(1075) 评论(0) 推荐(0)
摘要: IE 内使用ActiveX,写注册表被重定向到如下注册表,所以使用注册表做标记要注意下,目前还没找为什么会这样 HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\InternetRegistry\REGISTRY 阅读全文
posted @ 2017-02-25 19:24 奥雷连诺 阅读(445) 评论(0) 推荐(0)
摘要: $result = $conn->query($sql);$result->num_rows; 阅读全文
posted @ 2017-02-04 23:24 奥雷连诺 阅读(2823) 评论(0) 推荐(0)
摘要: error C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strupr. See online help for detail 阅读全文
posted @ 2016-11-16 17:11 奥雷连诺 阅读(4417) 评论(0) 推荐(0)
摘要: BOOL CXXXDlg::OnInitDialog(){ CDialogEx::OnInitDialog(); SetIcon(m_hIcon, TRUE); SetIcon(m_hIcon, FALSE); CChildDlg dlg; dlg.DoModal(); //你的业务代码 } 有时候 阅读全文
posted @ 2016-11-02 14:31 奥雷连诺 阅读(1142) 评论(0) 推荐(0)
摘要: vector selVect; int count = m_consumeList.GetItemCount(); //你的列表多少行 for (int i = 0; i<count; i++) { if (CDIS_GRAYED == m_consumeList.GetItemState(i, CDIS_GRAYED)) //获得是否选中的行 { selVect.... 阅读全文
posted @ 2016-10-27 12:27 奥雷连诺 阅读(2036) 评论(0) 推荐(0)
摘要: Git使用https方式进行连接时,默认每次推送时都要输入用户名和密码。 可以使用命令 $git config credential.helper store $git config credential.helper store 为当前仓库设置记住密码,设置后,只要在推送一次,以后就不需要用户名和 阅读全文
posted @ 2016-08-31 19:08 奥雷连诺 阅读(596) 评论(0) 推荐(0)
摘要: 必看 1. 本文不教你怎么生成key,主要解决多个项目对应多个SSH KEY的问题,在csdn code库上遇到的人估计很苦恼,为什么多个项目不能用一个key,为什么添加相同的key就会报重复 2. win7环境配置 第一步配置 $ git config --global user.name "Zh 阅读全文
posted @ 2016-08-31 18:35 奥雷连诺 阅读(3375) 评论(3) 推荐(0)
摘要: import ( "github.com/astaxie/beego" "github.com/astaxie/beego/toolbox") cronExpress := beego.AppConfig.String("xxxxx.xxxxx") if cronExpress == "" { cr 阅读全文
posted @ 2016-06-30 11:34 奥雷连诺 阅读(3529) 评论(0) 推荐(0)
摘要: 就想找个设置html combobox或者select默认选项的代码,百度搜了半小时不知所云的内容,其实很简单,代码如下js的方式:var index = 你的下标getElementById("id").selectedIndex=index ;jqurey的方式:var index = 你的下标... 阅读全文
posted @ 2015-11-30 18:21 奥雷连诺 阅读(2064) 评论(0) 推荐(0)
摘要: 使用定时器的时候当然想网页能够看到输出,不希望网页直接卡住,定时器结束输出一片。要做到定时器不卡住输出,只需要两个函数就行了,看下面代码"; $stop++; ob_flush(); flush(); sleep($interval); } while(tru... 阅读全文
posted @ 2015-09-23 18:56 奥雷连诺 阅读(401) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页