asp.net 的加密和解密(c#):1. 导入所需包:using
System.IO;using System.Text;using
System.Security.Cryptography;2.加密1)MD5普通加密//获取要加密的字段,并转化为Byte[]数组byte[] data =
Sys...
分类:
Web程序 时间:
2014-05-16 18:53:50
阅读次数:
375
To speed up bulk loading of data, InnoDB
implements aninsert buffer, a special index in the InnoDB system tablespace that
buffers modifications to sec...
分类:
数据库 时间:
2014-05-16 18:26:09
阅读次数:
532
数据库系统(Database System, DBS)包含了数据库(Database,
DB)、数据库管理系统(Database Management System,DBMS)、硬件、其他软件及用户。 数据模型(Data Model):
首先明确下模型(Model)是个什么东东? 模型可以分为实物模...
分类:
数据库 时间:
2014-05-16 18:08:46
阅读次数:
285
using System; using System.IO;//用于文件存取 using
System.Data;//用于数据访问 using System.Drawing;//提供画GDI+图形的基本功能 using
System.Drawing.Text;//提供画GDI+图形的高级功能 usi...
问:canvas.drawText("3",x,y,paint);x和y是指画得时候数字3中心的坐标吗?还是左上角的坐标?答:x默认是‘3’这个字符的左边在屏幕的位置,如果设置了paint.setTextAlign(Paint.Align.CENTER);那就是字符的中心,y是指定这个字符basel...
分类:
其他好文 时间:
2014-05-16 09:03:57
阅读次数:
359
control.ascx using System;using
System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.UI;using System.Web.UI.WebControls...
分类:
Web程序 时间:
2014-05-16 08:36:25
阅读次数:
362
using System;using System.Collections.Generic;using
System.Text;using System.Data;using System.Xml;using System.IO;using
System.Web;namespace Utility{...
分类:
Web程序 时间:
2014-05-14 09:54:50
阅读次数:
324
1.每个Linux进程都有一个最大打开文件数,默认情况下,最大值是1024文件描述符不仅可以引用普通文件,也可以引用套接字socket,目录,管道(everything
is a file)默认情况下,子进程会获得其父进程文件表的完整拷贝2.打开文件open系统调用必须包含 O_RDONLY,O_W...
分类:
系统相关 时间:
2014-05-14 08:17:28
阅读次数:
674
今天在安装dropbox,没装完就关机了,然后就杯具了再回来开机,发现左侧的软件中心丢了,还有系统设置打不开通过网上的查询,我重新安装了软件中心sudo
apt-get install software-center幸运的是,软件中心回来了,我在历史-》卸载里面一看,吓我一跳,在12:14分,系统卸...
分类:
其他好文 时间:
2014-05-14 08:16:24
阅读次数:
851
先看看效果,如果感兴趣,继续往下看……效果如下图所示:DataGridView里没有Pragress列,但有Image列,有了它我们可以自己绘图来实现进度条。其实实现起来并不困难。首先在实体类增加Image类型的属性,在get里绘制进度条图片:using
System;using System.Co...