登錄
注冊
首頁
項目
經驗
代碼
文庫
問答
博客
資訊
博客分類
.Net開發
XML操作C#代碼
using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace Ne...
jopen
6年前
0
4K
C#控制光驅開關的代碼
光驅彈出與關閉 //using System.Runtime.InteropServices ; [DllImport("winmm.dll")] public static extern in...
jopen
6年前
0
1K
C#加密算法匯總
方法一: //須添加對System.Web的引用 using System.Web.Security; ... /// <summary> /// SHA1加密字符串 /// </summary...
jopen
6年前
0
1K
用C#實現軟件自動更新思路
長期以來,廣大程序員為到底是使用Client/Server,還是使用Browser/Server結構爭論不休,在這些爭論當中,C/S結構的程序可 維護性差,布置困難,升級不方便,維護成本高就是一...
jopen
6年前
0
7K
用C#實現HTTP協議下的多線程文件傳輸
很多人都有過使用網絡螞蟻或網絡快車軟件下載互聯網文件的經歷,這些軟件的使用可以大大加速互聯網上文件的傳輸速度,減少文件傳輸的時間。這些軟件為什么 有如此大的魔力呢?其主要原因是這些軟件都采用了多...
jopen
6年前
0
10K
C#操作Excel文件
Excel是微 軟公司辦公自動化套件中的一個軟件,他主要是用來處理電子表格。Excel以其功能強大,界面友好等受到了許多用戶的歡迎。在設計應用系 統時,對于不同的用戶,他們對于打印的需求是不一樣...
jopen
6年前
0
2K
C#如何取硬件標志的代碼
using System; using System.Runtime.InteropServices; using System.Management; namespace Hardware {...
jopen
6年前
0
1K
用C#編寫獲取遠程IP,MAC的方法
如果要想獲得遠程的地址,需要用sendarp這個函數來實現。具體的代碼如下: [DllImport("Iphlpapi.dll")] private static unsafe extern i...
jopen
6年前
0
1K
提取網頁中的超鏈接C#代碼
using System; using System.Xml; using System.Text; using System.Net; using System.IO; using Syste...
jopen
6年前
0
1K
FTP上傳類FTP上傳C#類
using System; using System.Collections.Generic; using System.Text; using System.Net; using System...
jopen
6年前
0
3K
asp.Net 一些常用的方法和類
生成驗證碼: using System; using System.Data; using System.Configuration; using System.Collections; usi...
jopen
6年前
0
1K
asp.net 讀取word 文檔的方法
//第一種方法: Response.ClearContent(); Response.ClearHeaders(); Response.ContentType = "Application/ms...
jopen
6年前
0
1K
C# 5.0將帶來的五大新特性
第一:綁定運算符,:=: 這個只是簡化了數據綁定,跟ASP.NET MVC3不斷改進一樣,其實不是什么亮點改進。 comboBox1.Text :=: textBox1.Text; //將文本框...
jopen
6年前
0
1K
C#獲取當前程序運行路徑的方法集合
//獲取當前進程的完整路徑,包含文件名(進程名)。 string str = this.GetType().Assembly.Location; result: X:\xxx\xxx\xxx.e...
jopen
6年前
0
1K
.Net開發中常用的一些數據庫鏈接字符串
常用的數據庫鏈接串 <!-- Access 2007: Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:/myFolder/myAccess200...
jopen
6年前
0
1K
ActionScript
如何讓程序能夠開機自動運行的C#代碼
//此方法把啟動項加載到注冊表中 //獲得應用程序路徑 string strAssName = Application.StartupPath + @"/" + Application.Prod...
jopen
6年前
0
1K
用C# 代碼創建window服務
using System; using System.Threading; using System.ServiceProcess; using System.Collections; usin...
jopen
6年前
0
2K
寫博客
博客分類
Android開發
正則表達式
JVM調優
開發工具
HTML5
Apache Commons
.Net開發
PHP
Java
JQuery
MySQL
其它
熱門問答
熱門文檔
sesese色