我们可以通过两种方式来连接MySQL数据库,先看直联的方式:方法一:使用MySQL推出的MySQL Connector/Net组件,该组件是MySQL为ADO.NET访问MySQL数据库设计的.NET专用访问组件。完成该组件后,需要在项目中引用这个组件,之后在程序中引用命名空间MySql.Data....
分类:
数据库 时间:
2014-07-18 00:16:45
阅读次数:
351
Event 事件事件是为了解耦...注册事件使用"on add"添加属性,注册事件 使用on方法注册事件. 第三个参数$data是监听函数使用的参数, 第四个$append参数设置为false则把改事件的方法给添加到最前面,会先触发 事件种类: 匿名函数:function($event){} 对象方...
分类:
其他好文 时间:
2014-07-18 00:14:03
阅读次数:
774
1.SMTP只负责将邮件发送到服务器,其他的,像身份认证检测邮件,都不能完成。(25/tcp) ESMTP:Extended SMTP POP3:Post Office Protocol IMAP4:Internet Mail Access Protocol2.Open Relay:开放式中继就是人...
分类:
系统相关 时间:
2014-07-18 00:08:40
阅读次数:
359
// remove instances with missing class Instances newData = new Instances(data); newData.deleteWithMissingClass(); m_structure = new Instance...
分类:
其他好文 时间:
2014-07-17 22:19:19
阅读次数:
332
问题来源用sqlserver直接打开sql文本,执行没问题,但是当用Sqlcommand类执行cmdtext命令文本时总是失败报错。原因分析及解决用数据库直接执行sql语句没问题,甚至还可以用Go来进行分批处理,但是当你用链接类访问数据库,并执行sql语句时就有些限制,如下:System.Data....
分类:
数据库 时间:
2014-07-17 22:17:59
阅读次数:
466
【问题】
??
在我本机的开发环境c#连接sqlite3没有问题,可是release版本移植到其他的机器就提示Could not load file or assembly'System.Data.SQLite.dll' or one of its depedencies。找不到指定模块。
【解决】
搜来搜去没找到靠谱的答案,其实最后还是自己解决的。
sqlite官方的下载页...
分类:
数据库 时间:
2014-07-17 20:38:48
阅读次数:
309
安装pythonsetup.pyinstall使用1.创建工程django-admin.pystartprojectData_Collet_Center2.运行开发serverpythonmanage.pyrunserver0.0.0.0:80003.创建应用pythonmanage.pystartappDCC4.配置Data_collect_Center/settings.py配置DB:‘ENGINE‘:‘django.db.backends.sqlite3‘,#Ad..
分类:
Web程序 时间:
2014-07-17 20:30:29
阅读次数:
286
[client]
port=3358
socket=/export/data/mysql/tmp/mysql.sock
[mysqld]
port=3358
socket=/export/data/mysql/tmp/mysql.sock
datadir=/export/data/mysql/data
#---GLOBAL---#
character-set-server=utf8
lower_case_table_names=1
log-output=FILE
log-error=/export/d..
分类:
其他好文 时间:
2014-07-17 20:07:00
阅读次数:
242
function showUnreadNews() {
$(document).ready(function() {
$.ajax({
type : "GET",
url : "bridgeAction.action",
dataType : "json",
success : function(msg) {
if (msg.data) {
...
分类:
Web程序 时间:
2014-07-17 19:06:23
阅读次数:
258
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window...
分类:
其他好文 时间:
2014-07-17 19:00:10
阅读次数:
183