1、用MySQLDriverCS连接MySQL数据库先下载和安装MySQLDriverCS,在安装文件夹下面找到MySQLDriver.dll,然后将MySQLDriver.dll添加引用到项目中。
using System; using System.Collections.Gen...
分类:
数据库 时间:
2014-05-10 19:12:23
阅读次数:
453
System.Threading.Tasks.Parallel是能够以并行的方式迭代数据集合(实现了IEnumerable的对象),它主要提供2个方法:For()和ForEach()
事例:
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Net.Consol...
分类:
其他好文 时间:
2014-05-10 08:59:10
阅读次数:
302
using System;using
System.Drawing;//HttpUtility.UrlEncode/// ///Curve 的摘要说明/// public class Curve{
public Curve() { // //TODO: 在此处...
分类:
Web程序 时间:
2014-05-10 07:36:33
阅读次数:
491
using System;using System.Data;using
System.Text;using System.Collections.Generic;using System.Reflection;using
System.Data.Common;using System.Collec...
分类:
Web程序 时间:
2014-05-10 07:27:45
阅读次数:
474
在执行/etc/init.d/ndbd--initial出现下列错误[root@ndbd1~]#/etc/init.d/ndbd--initialUnabletoconnectwithconnectstring:nodeid=0,localhost:1186Retryingevery5seconds.Attemptsleft:121110987654321,failed.解决办法1.查看/etc/my.cnf文件配置[root@ndbd1~]#cat/etc/my.cnf..
分类:
数据库 时间:
2014-05-10 04:07:58
阅读次数:
1778
系统配置的yum源是163的镜像站,本来想用lsb_release命令查看一下系统的版本等信息,结果显示没有此命令,那就安装其相关软件包吧,用yum-yinstallredhat-lsb相依属性列出了40个软件包,本来没想安装这么多,愣了个神还没有按y键呢系统自己就莫名其妙又继续了,继续就继续吧,..
分类:
其他好文 时间:
2014-05-10 04:01:38
阅读次数:
649
psql:致命错误:用户"***"Ident认证失败或psql:FATAL:Identauthenticationfailedforuser“username”,maispourquoidonc?解决办法:修改"pg_hba.conf"文件中认证方式"METHOD"为"md5"或"trust",具体参考文件中的说明。
分类:
数据库 时间:
2014-05-10 03:58:44
阅读次数:
611
public class InsertSort{ public static void
main(String[] args){ int[] sortArray = new int[]{5,7,4,2,9,8,3,6};
System.out.println("before sorting ,t.....
分类:
编程语言 时间:
2014-05-10 03:13:15
阅读次数:
342
SYSCTL(8) System Administration SYSCTL(8)名字 sysctl
- 在运行时配置内核参数语法 sysctl [options] [variable[=value]]...
分类:
其他好文 时间:
2014-05-10 02:55:31
阅读次数:
290
MOUNT(8) System Administration MOUNT(8)名称 mount -
挂载文件系统语法 mount [-lh...
分类:
其他好文 时间:
2014-05-10 02:38:33
阅读次数:
506