-
今天有个朋友测试 SQLite,然后得出的结论是:SQLite 效率太低,批量插入1000条记录,居然耗时 2 分钟!
下面是他发给我的测试代码。我晕~~~~~~
using System.Data;
using System.Data.Common;
using System.Data.SQLite;
// 创建数据库文件
File...
2008-06-12 16-19
-
1。从www.sqlite.org下载SQLite 3.3.4的版本
为了方便,我把它解压了,就一个SQLite3.exe,放入Windows目录下。
Cmd 进入命令行
1)
创建数据库文件:
>SQLite3 d:\test.db 回车
就生成了一个test.db在d盘。
这样同时也SQLite3挂...
2008-06-12 14-48
-
sqlite是最近比较火的一个小型embeddable RDBMS。 用C实现的,开源,memory footprint非常小,而且对不同的语言有很多wrapper支持。
在.NET中使用sqlite,其实很简单,主要是找个.NET的wrapper。看了几个,最终选了phpguru的SQLite.NET
把sqlite.dll和S...
2008-06-12 14-11
-
using System;
using System.DirectoryServices;
using System.Collections;
using System.Text.RegularExpressions;
using System.Text;
/**
* @author 吴海燕
* @email wuhy80-usual@yahoo.com
* 2004-6-25 第一版
*/
namespace Wuhy.To...
2008-06-11 04-42
-
Today I needed to set NTFS permissions in C# on some newly created directories.
No problem I thought, the CLR will have something for it somewhere in Security, so I checked Google in the hopes to find which class to use.
But Google ...
2008-06-11 04-38
-
WMI 对大多数开发人员来说是一个感觉比较迷惑的东西,对我来说也是如此。直到最近看了一篇关于 .Net Management 的介绍后,才对WMI 有了一点点了解。下面就把自己的一点经验写给爱好C# 的朋友们。
WMI 是一个非常强大的工具,它可以提供给我们非常强大的功能...
2008-06-11 04-38
-
using System;
using System.Management;
using System.Collections;
class Tester
{
public static void Main()
{
try
{
ManagementPath path = new ManagementPath( );
path.S...
2008-06-11 04-36
-
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Management;
using System.Text;
using System.Runtime.InteropServices;
namespace S...
2008-06-11 04-34
-
using System;
using System.Management;
namespace DiskQuota
{
/// <summary>
/// Class1 的摘要说明。
/// </summary>
class Class1
{
/// <summary>
/// 应用程序的主入口点。...
2008-06-11 04-32
-
string str="wecncnc<a href=\"list.asp?Page=1&boardid=33&t=656727&p=11&tp=%B9%AB%BF%AAICSI%B5%C4MP3%B7%BD%B0%B8%C9%E8%BC%C6\">下一页</a>";
str+="wecncnc<a...
2008-06-11 04-31
1 [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页