Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->编程语言 ->ASP.NET ->列表
使用C#与NNTP服务器交互!
using System; using System.Text; using System.Net; using System.IO; using System.Net.Sockets; using System.Collections; using System.Diagnostics; namespace NntpTools { /// summary /// Class1 的摘要说明。 /// /summary class Debug { /// summary /// 应...
作者:Webmaster发表于:2007-06-04 09:50:56 点击:148 评论:1 查阅全文...
用C#生成中文汉字验证码的基本原理
前几天去申请免费QQ号码,突然发现申请表单中的验证码内容换成了中文,这叫真叫我大跌眼镜感到好笑,Moper上的猫儿们都大骂腾讯采用中文验证码。^_^ 我不得不佩服腾讯为了防止目前网络上横行的QQ号码自动注册机而采取中文验证码的手段。仔细想了想感觉用程序生成随机的...
作者:Webmaster发表于:2007-06-04 09:50:55 点击:269 评论:1 查阅全文...
C#编写的windows计算器-源代码
选择自 CSPRO 的 Blog using System; using System.Drawing; using System.Windows; using System.Windows.Forms; using System.Collections; using System.ComponentModel; using System.Data; namespace comput { /// summary /// 这是一个计算器的简单实现。 /// /s...
作者:Webmaster发表于:2007-06-04 09:50:54 点击:3203 评论:1 查阅全文...
C#中实现DataGrid双向排序
在.Net 中 DataGrid 虽然有排序的功能,但并不支持双向的排序。用到了,看了些相关的帖子,自己尝试了一种方法,竟然也行得通,主要是用DataGrid.Attributes 存了一个参数,同时在onSortCommand中修改了DataGridColumn的SortExpression. 代码如下: private void BindD...
作者:Webmaster发表于:2007-06-04 09:50:44 点击:110 评论:1 查阅全文...
C#反编译微软MSDN2003的帮助文档,并将反编译结果保存到一个SQLSERVER数据库中
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace MSDNOUT { /// summary /// 反编译微软MSDN2003文档并保存到数据库的程序主窗体 /// /summary public class dlgMSDNOut : System...
作者:Webmaster发表于:2007-06-04 09:50:43 点击:239 评论:3 查阅全文...
用C#开发.NET CF 蓝牙通信模块
在Windows Mobile软件开发中.Net正扮演着日益重要的角色,我们已经可以看到很多用.Net CF开发的软件,这些软件涉及到了日常应用的方方面面。在智能设备的软件开发中,无线互联是一个相当重要的一块,我们可以看到,红外几乎是所有智能设备的标配,而蓝牙也日益在越来越...
作者:Webmaster发表于:2007-06-04 09:50:40 点击:241 评论:1 查阅全文...
怎样在你的应用程序中集成Google搜索?
How to Integrate Google Searches into Your Application By Klaus Salchner www.csharphelp.com Introduction The first thing coming to mind when we hear Google is search engine. Google has been able to turn the search business up-side-down within the la...
作者:Webmaster发表于:2007-06-04 09:50:38 点击:187 评论:1 查阅全文...
用API得到局域网中可用SqlServer服务器列表
无意中找到了以前的一个C#程序,觉得好用发到这里以便和大家共享一下,其实这个代码我是抄别人过来的,原作者不详,觉得写的好就和大家共享一下了程序实现了用API来得到SqlServer服务器列表的功能,我觉得比用SQLDEMO组件更有意义,代码如下: /// summary /// 获取网...
作者:Webmaster发表于:2007-06-04 09:50:35 点击:182 评论:2 查阅全文...
C#中使用SendMessage
在C#中,程序采用了的驱动采用了事件驱动而不是原来的消息驱动,虽然.net框架提供的事件已经十分丰富,但是在以前的系统中定义了丰富的消息对系统的编程提供了方便的实现方法,因此在C#中使用消息有时候还是大大提高编程的效率的。 1 定义消息 在c#中消息需要定义成win...
作者:Webmaster发表于:2007-06-04 09:50:34 点击:458 评论:1 查阅全文...
提取HTML代码中文字的C#函数
/// summary /// 去除HTML标记 /// /summary /// param name="strHtml"包括HTML的源码 /param /// returns已经去除后的文字/returns public static string StripHTML(string strHtml) { string [] aryReg ={ @"script[^]*?.*?/script", @"(\/\s*)?!?((\w+:)?\w+)(\w+(\...
作者:Webmaster发表于:2007-06-04 09:50:33 点击:66 评论:1 查阅全文...
Power by linux-cn.com 粤ICP备05006655号