上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 65 下一页
摘要: 此模式可以很好的更换程序使用不同的数据库 1.用到的属性类 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ReflectionAndAbstractFac 阅读全文
posted @ 2016-03-04 11:24 ike_li 阅读(654) 评论(0) 推荐(0)
摘要: 1. Windows7,VS2013,网站发布到IIS,访问发生如下错误: HTTP 错误 500.21 - Internal Server Error处理程序“NickLeeCallbackHandler”在其模块列表中有一个错误模块“ManagedPipelineHandler” 原因:在安装F 阅读全文
posted @ 2016-03-01 10:30 ike_li 阅读(166) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-01-29 18:32 ike_li 阅读(7) 评论(0) 推荐(0)
摘要: 一、 二、 void MainWindow::on_pushButton_clicked() { QMap<int,QString> map; //添加数据 map.insert(1,"1111"); map.insert(2,"2222"); map.insert(3,"3333"); //另一种 阅读全文
posted @ 2016-01-29 11:47 ike_li 阅读(284) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-01-14 17:18 ike_li 阅读(1) 评论(0) 推荐(0)
摘要: 1.删除目录下所有的文件 void deleteAllFiles(const QString& fileDir) { QDir dir(fileDir); if(!dir.exists()) { return; } QFileInfoList fileInfofList=dir.entryInfoL 阅读全文
posted @ 2016-01-08 09:31 ike_li 阅读(424) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-12-31 09:42 ike_li 阅读(690) 评论(0) 推荐(0)
摘要: 1. pro 添加 QT +=sql 2. void MainWindow::connectSqlServer() { QSettings *setIni = new QSettings("config.ini", QSettings::IniFormat); setIni->beginGroup( 阅读全文
posted @ 2015-12-19 10:48 ike_li 阅读(2192) 评论(0) 推荐(1)
摘要: 1.创建个子窗体QDialog.在子窗体构造函数添加 Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); this->setParent(parent); this->s 阅读全文
posted @ 2015-12-09 14:13 ike_li 阅读(2814) 评论(1) 推荐(1)
摘要: 1.在资源文件建立一个qss文件。如blue.qss 2. 调用 #include "mainwindow.h" #include <QApplication> #include<QFile> #include "mainframe.h" int main(int argc, char *argv[ 阅读全文
posted @ 2015-12-09 10:46 ike_li 阅读(1585) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 65 下一页