真爱无限的知识驿站

学习积累技术经验,提升自身能力

C++/c#修改hosts文件

#include<iostream>
#include<fstream>
#include <WTypes.h>
#include <Winbase.h>
using namespace std;
int main()
{
ofstream outf;
char * lpFileName="C:\Windows\System32\drivers\etc\hosts";
...

[转载]mssql 生成‘批量Insert数据的sql语句’的存储过程

(含中文插入处理)
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spGenInsertSQLHan]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[spGenInsertSQLHan]
GO

SET QUOTED_IDENTIFIER ON
GO
...

js格式化显示当前时间

<script type="text/javascript">
//    function settime() {
//        var mytime = document.getElementByIdx_x_x("mytime");
...

C#中npoi操作Excel[版本1.2.1读写2003格式]

//npoi操作Exce的测试(你的Excel文件必须在运行程序的电脑(服务器)上,网站中尤其要注意这点)

//先引用npoi的dll文件

//用到的dll下载地址: npoidll.zip
...

.net一般处理程序ashx生成验证码

//第一种

using System;
using System.Collections.Generic;
using System.Web;
using System.Drawing;
using System.Drawing.Imaging;
using System.Web.SessionState;

...

C#对文件的字节加密/解密-可逆

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
...

mssql express profiler 下载地址

 

 

http://code.google.com/p/sqlexpressprofiler/downloads/detail?name=SqlExpressProfiler-1.2.1708.7.zip

...

ASP.NET 的进程帐户必须具有对 IIS 元数据库(如 IIS://servername/W3SVC)的读访问权_解决办法

iis运行.net网站时,报错。

解决方法:
 

开始->程序->Microsoft .NET Framework SDK v2.0->SDK Command Prompt
输入
aspnet_regiis  -i 

Enter

...

EXCEL函数大全

 

下载使用文档:EXCEL_使用大全.zip

c#对ftp进行操作

 FtpClient类下载 :FtpClient.zip

 

客户端使用:

第一种使用WebClient

...

<< < 24 25 26 27 28 29 30 31 32 33 > >>

Powered By Z-BlogPHP 1.7.3

Copyright 2024-2027 pukuimin Rights Reserved.
粤ICP备17100155号