HTML5先行者高级交流群

欢迎加入学习讨论
专注前端,专注网页设计制作及网站开发项目 - (低价承接网站开发项目) QQ:370158739加入收藏RSS
-
2013-12-20 14:01:27
C#中Excel文件的读取_.NET教程_编程技术
- excel 提供两种方法:一个是直接打开excel文件,然后逐行读取,速度较慢;还有一种方法是通过OleDb连接,把excel文件作为数据源来读取方法一:这种直接读取单元格的方法释放很重要。 Exce
-
2013-12-20 14:01:26
C#中获得系统当前鼠标的图案_.NET教程_编程技术
- using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)]struct CURSORINFO{ public int cbSize; public int flags; public IntPtr hCursor;
-
2013-12-20 14:01:24
ini文件读取(C#)_.NET教程_编程技术
- //读取INI文件;private string GetPrivateProfileString(string ApplicationName, string KeyName,string Default, string FileName){string[] iniItems = new string[0]; strin
-
2013-12-20 14:01:22
C#截屏_.NET教程_编程技术
- using System;using System.Runtime.InteropServices;using System.Drawing;using System.Drawing.Imaging;namespace CSharpChat{ /// <summary> /// ScreenCameraClass 的摘要
-
2013-12-20 14:01:22
C#调用DOS命令方法_.NET教程_编程技术
- C#调用DOS命令我想编一个汇编语言编辑器,但在调用masm.exe的时候,无法得到它的运行信息。代码如下: Process p = new Process(); p.StartInfo .WorkingDirectory ="e://"; p.StartI
-
2013-12-20 14:01:20
C#图像放大问题解决方法_.NET教程_编程技术
- 放大|解决|问题 最近在写工具的时候发现了一个很恶心的问题,当用DrawImage做图像放大的时候C#的默认放大算法不是NearestNeighbor算法,而Java Swing的drawImage放大算法默认为Ne
-
2013-12-20 14:01:19
C#制作鼠标可以穿透的窗体_.NET教程_编程技术
- 把窗体的FormBorderStyle设为FormBorderStyle.Noneusing System.Runtime.InteropServices; private const uint WS_EX_LAYERED = 0x80000; private const int WS_
-
2013-12-20 14:01:19
总结C#中得到程序当前工作目录和执行目录的一些方法_.NET教程_编程技术
- 程序|执行 1. System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName 获取模块的完整路径。2. System.Environment.CurrentDirectory 获取和设置当
-
2013-12-20 14:01:18
C#从视频截图的方法_.NET教程_编程技术
- 前公司在制作播客系统(Web程序)中,用到从视频截图功能.下边是截图CatchImg方法,可从大多数的视频文件中截图成功,大家可测试;如果截图不成功,大多是因为视频本身的问题,如编码标
-
2013-12-20 14:01:16
身份证格式验证(含15位转换到18位)C#_.NET教程_编程技术
- 转换 using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args)
-
2013-12-20 14:01:14
C#生成缩略图代码_.NET教程_编程技术
- 缩略图 if(fileupload.PostedFile!=null){ //addto为要添加的属性,aboutfile为文件说明string nam = fileupload.PostedFile.FileName ;//取得文件名(抱括路径)里最后一个"."的索
-
2013-12-20 14:01:12
C# 文件操作_.NET教程_编程技术
- 目录操作System.IO 类 目录操作string[] drives = Directory.GetLogicalDrives(); //本地驱动器的名,如:C:/等string path = Directory.GetCurrentDirectory(); //获取应用程
-
2013-12-20 14:01:12
C#堆栈_.NET教程_编程技术
- using System;namespace ZH.DataFrame.AbstractData{ ObjectStackADT object堆栈#region ObjectStackADT object堆栈 /**//// <summary> /// object堆栈(先进后出)
-
2013-12-20 14:01:10
c#链表类_.NET教程_编程技术
- using System;using ZH.DataFrame.AbstractData;namespace ZH.DataFrame.BasicData.ChainTable{ Node 单链表#region Node 单链表 /**//// <summary> /// 单链表 //
-
2013-12-20 14:01:10
C#下载文件时候弹出选择文件夹保存目录的代码_.NET教程_编程技术
- 下载 //保存文件夹选择对话框引用//添加引用system.design.dll /using System.Windows.Forms.Design;private void button4_Click(object sender, System.EventArgs e) { //
-
2013-12-20 14:01:09
C#根据计算机名获取对应IP地址_.NET教程_编程技术
- ip地址 private string AddWindowsUser(string strDoamin, string strLogin, string strPwd) { DirectoryEntry obDirEntry = null; try {
-
2013-12-20 14:01:09
C#获取网络邻居所有工作组和机器名称_.NET教程_编程技术
- 网络 using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;//查询网络上的计算机IP和用户需要引用using Syst
-
2013-12-20 14:01:08
C#列表所有IIS站点以及相关站点属性_.NET教程_编程技术
- iis|站点 using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Windows.Forms.Design;using Sy
-
2013-12-20 14:01:08
c#读取IIS中的站点相关属性代码_.NET教程_编程技术
- iis|站点 private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e) { string currentServerComment=comboBox1.SelectedItem.ToString(); string