- 博客(48)
- 资源 (5)
- 收藏
- 关注
转载 Oracle 检查表的数据变动
本知识点仅适用于Oracle 9i以上的版本。查看表的数据变动情况请使用SQL语句:select * from user_tab_modifications;user_tab_modifications表的字段如下,从这个表中能够轻松找到表中做的修改,删除,增加记录的情况注意以及使用方法:1、但这张表不是实时更新的,默认情况15分钟更新一次,所以你更新一张表,可能在
2015-06-09 10:31:09 934
原创 Qt开发的sqlite数据库应用出现Driver not loaded
Qt加载数据库时,数据库驱动必须放在sqldrivers文件夹下,1、将Qt安装程序的plugins/sqldrivers路径复制到EXE文件同根目录下。2、程序中添加以下代码QString path = QDir::currentPath(); QApplication::addLibraryPath(path+QString("/plugins"));
2015-05-12 18:53:41 7829 3
转载 android 获取各种日期
public class DateInfo { private SimpleDateFormat sdf; public DateInfo(Context context) { sdf = new SimpleDateFormat("yyyyMMdd"); } //获取当前日期 public String getToday() { Date d = new Date()
2014-12-05 11:23:20 476
转载 qstring wchar char 相互转化
QString to Wchar :法一:WCHAR pathfile[100];QString("\\\\.\\PHYSICALDRIVE0").toWCharArray(pathfile);法二: reinterpret_cast(QString("ParaList").utf16()) Wchar to QString:QString
2014-10-30 15:06:09 2766
转载 QString, wchar_t *, TCHAR, CString和其他字符或字符串类型的
这篇文章是在Blogspot上看到的一篇文章,能够解决QString, wchar_t *, TCHAR和其他字符或字符串类型之间的转换,方便在使用Windows API的时候转换的麻烦。原文地址:http://tkrotoff.blogspot.com/2010/04/code-snippets-about-qstring-wchart.html//QString to wchar_t
2014-10-23 23:30:59 692
转载 用C++,调用浏览器打开一个网页
用默认浏览器,就调用ShellExecute(NULL, _T("open"), _T("explorer.exe"), _T("http://www.baidu.com"), NULL, SW_SHOW);有三个 Windows API 函数可以运行可执行档WinExec、ShellExecute和CreateProcess。 ShellExecute的功能是运行一个外部程式(或
2014-10-23 22:40:00 4069 2
原创 android自定义圆角Dialog
Activity代码中添加getWindow().setBackgroundDrawableResource(android.R.color.transparent);
2014-10-16 17:02:03 563
转载 获取Android地图 API密钥
要使用Google提供的map服务,必须先申请一个Maps API Key。步骤如下:Step1:申请MD5 (1)打开eclipse,然后选择Window-->Preferences-->Android-->Build,可以查找debug.keystore的路径。(2)将debug.keystore拷贝到keytool所在目录,如果安装JDK是按默认路径安装,keytool是在C
2014-06-29 20:05:13 825
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人