自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 C#程序中添加配置文件

项目上右键--添加--添加新项--选应用程序配置文件则增加App.config         以配置数据库连接串为例,在App.config配置如下:                                                 ///

2011-07-27 10:54:20 988

原创 SQL将Excel文件导入数据库

--启用Ad Hoc Distributed Queries: exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distributed Queries',1 rec

2011-07-27 10:53:49 278

原创 获取文件的MD5值

public static string GetFileHash(string filePath, HashType type)        {            if (!File.Exists(filePath))                return strin

2011-07-27 10:52:30 245

原创 数据库本地及远程备份

开启xp_cmdshell命令EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 0;RECONFIGURE;--存储过程 --实现功能:定时将服务器中

2011-07-27 10:47:34 367

原创 导入Excel表时,提示"找不到可安装的ISAM"

<br />C#读取Excel代码:view sourceprint?01stringstrConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+ FilePath + ";Extended Properties='Excel 8.0;HDR=NO;IMEX=1';";//不能是11.0 02            OleDbConnection conn = newOleDbConnection(strConn); 03            con

2011-05-17 16:07:00 740

原创 C#读取Excel表中的数据时,为何有些行的字段内容读取不到

解决同一列中“字符串”和“数字”两种格式同时存在,读取时,不能正确显示“字符串”格式的问题 OpenFileDialog openFileDialog = new OpenFileDialog();            openFileDialog.RestoreDirectory = true;            openFileDialog.DefaultExt = "xls";            openFileDialog.Filter = "Excel files(*.xls)|*.xl

2011-05-17 16:04:00 766

原创 JAVA&C# MD5加密

C#:System.Text.UTF8Encoding utf8 = new System.Text.UTF8Encoding();            string str = txtIP.Text +txtcooperatorKey.Text + txtaction.Text + txtxml.Text + txtcooperatorID.Text;            byte[] data = utf8.GetBytes(str);            MD5 LocalMd5 = new M

2011-04-29 11:28:00 481

原创 net自带wsdl.exe的用法与参数说明

wsdl.exe 现在的位置在 C:/Program Files/Microsoft SDKs/Windows/v6.0A/bin打开.net自己带的Visual Studio .NET 2003 命令提示 输入wsdl /language:VB /n:mynamespace /out:myProxyClass.cs http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL默认为C#语言/language:VB 为输出语言/n:mynamespace

2011-04-27 08:53:00 513

原创 SQL中合并多行记录的方法总汇

-- =============================================================================<br />-- Title: 在SQL中分类合并数据行<br />-- Author: dobear        Mail(MSN): [email protected]<br />-- Environment: Vista + SQL2005<br />-- Date: 2008-04-22<br />-- ============

2011-04-20 11:58:00 224

EditPlus安装

附件是EditPlus的安装文件~~~~~~~~~~~~~~

2011-03-17

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除