using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.IO;using System.IO.Compression;using
System.Data;namesp...
分类:
其他好文 时间:
2014-06-10 21:53:25
阅读次数:
160
C# params object[] args 可以传多个参数,可以不限制类型using
System;using System.Collections.Generic;using System.Text;namespace
ConsoleApplication2{ class Program .....
分类:
其他好文 时间:
2014-06-10 21:49:32
阅读次数:
272
很多开发者进行数据库设计的时候往往并没有太多的考虑char,
varchar类型,有的是根本就没注意,因为存储价格变得越来越便宜了,忘记了最开始的一些基本设计理论和原则,这点让我想到了现在的年轻人,大手一挥一把人民币就从他手里溜走了,其实我想不管是做人也好,做开发也好,细节的把握直接决定很多东西。当...
分类:
其他好文 时间:
2014-06-10 21:38:11
阅读次数:
253
//获取本机IP并显示System.Net.IPHostEntry hostIP =
System.Net.Dns.GetHostEntry(Environment.MachineName);ipStr.Text =
hostIP.AddressList[0].ToString();这是比较简单的方...
1 using System; 2 using
System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using
System.Threading.Tasks; 6 7 namespace 冒泡排序法 8 .....
分类:
其他好文 时间:
2014-06-10 12:55:13
阅读次数:
165
利用扩展方法,实现参数验证。 1 using System; 2 using
System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using
System.Threading.Tasks; 6 7 name....
分类:
其他好文 时间:
2014-06-10 12:53:48
阅读次数:
141
using System;using System.Collections.Generic;using
System.Text;using System.Data;using System.Data.SqlClient;namespace DAL{/// ///
数据层 - 数据库 操作类/// i...
分类:
数据库 时间:
2014-06-10 12:12:58
阅读次数:
307
VCF is a text format. It contains
meta-information lines, a header line, and then data lines each containing
information about a posittion in the geno...
分类:
其他好文 时间:
2014-06-10 11:35:34
阅读次数:
771
LINUX 如下:
1)导出数据
[root@www.cnscn.org ~]$ mysqldump -u root -p dbname --default-character-set=gbk > base_user.sql;
2)查看导出的sql文件的编码
[root@www.cnscn.org ~]$ file base_user.sql
base_user.sql: UTF-8 Unicode text, with very long lines
3)转成要用的编码
[root@www.cn...
分类:
数据库 时间:
2014-06-10 11:14:39
阅读次数:
394