曾经做过的一个Python小程序,读取ACCESS数据库,然后list数据# -*- coding: cp936 -*-import wximport wx.libimport sys,glob,randomimport win32com.clientreload(sys)sys.setdefaul...
分类:
数据库 时间:
2014-08-11 11:49:22
阅读次数:
501
在进行数据库操作时,如还原数据库,有时候显示如下错误Exclusive access could not be obtained because the database is in use 可以使用下面语句,关闭当前链接以便继续操作。 use Master ALTER DATABASE yourd...
分类:
数据库 时间:
2014-08-11 11:33:22
阅读次数:
241
--Control中的UseOra.php ? ? <?php if (!defined(‘BASEPATH‘)) ??? exit(‘No direct script access allowed‘); class UseOra extends CI_Controller { ??? public function index() ??? { ?????...
分类:
数据库 时间:
2014-08-11 03:11:01
阅读次数:
378
局域网交换技术,也称为层2交换技术,内容主要包括层2交换的工作 原理、网络环路、如何利用Spanning-Tree Protocol 来解决网络环路、VLAN及VTP技术,闲话少说,书归正传。我们在介绍交换技术之前不得不提一下传统...
分类:
其他好文 时间:
2014-08-10 19:01:10
阅读次数:
1569
平时使用中常常会碰到ping不通的情况,ping不通的原因有非常多,比方路由设置问题,比方网络问题,下面列出几点原因: 1.太心急。即网线刚插到交换机上就想Ping通网关,忽略了生成树的收敛时间。当然,较新的交换机都支持高速生成树,或者有的管理员干脆把用户port(access port)的生成树....
分类:
其他好文 时间:
2014-08-10 12:47:00
阅读次数:
246
public member function
std::vector::front
reference front();
const_reference front() const;
Access first element
访问第一个元素
Returns a reference to the first element in the vector....
分类:
其他好文 时间:
2014-08-09 18:45:48
阅读次数:
243
OleDbConnection inconn = new OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0;Data Source=DB.mdb"); inconn.Open(); OleDbTransa...
分类:
数据库 时间:
2014-08-09 13:10:07
阅读次数:
279
C# access数据库软件使用事务插入多条记录 protected void Button1_Click(object sender, EventArgs e) { /*=============测试通过===============*/ OleDbConnection con = ne...
分类:
数据库 时间:
2014-08-09 09:05:37
阅读次数:
303
一般来说这些日志的分析价值不高,而且还占用硬盘空间,一般都会关掉。nginx配置:location~.*\.(gif|jpg|jpeg|png|bmp|swf|ico)${access_logoff;proxy_passhttp://cdel_jxjy;proxy_redirectoff;proxy_set_headerHost$host;proxy_set_headerX-Real-IP$remote_addr;proxy_set_he..
分类:
Web程序 时间:
2014-08-08 18:24:56
阅读次数:
286
由于浏览器安全方面的限制,大多数 "Ajax" 请求遵守同源策略;请求无法从不同的域、子域或协议成功地取回数据。如果在不同域下访问就会出现提示:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1' is therefore not allowed access.
因此解决方法:
1.采用同域策略,在同一域名下。
2.在服务端设置属性,如:php服务端...
分类:
Web程序 时间:
2014-08-08 16:04:36
阅读次数:
297