下载中心┊文章中心┊软件分类┊更新软件┊推荐下载┊热门软件┊更新文章┊热门文章
 
《拓文asp.net网站内容管理系统》官方演示站。
 设为首页    
 收藏本站
 作者:黄振安
 
网站首页 开源拓文 .NET编程 网站编程 网页设计 图形图像 数据库 软件工程留言本
    站内搜索:   
您现在的位置: 拓文网络 → 文章中心 → .NET编程 → ASP.NET

栏 目 分 类
没有栏目分类

专 题 栏 目

热 门 文 章

推 荐 文 章
文章标题 更新日期 阅读次数 文章评级
  c# 中如何定义和接收消息?(转) 2005-12-230
   · 在C#中目前我还没有找到发送消息的类成员函数,所以只能采用通过调用WIN 32 API 的 SendMessage() 函数实现。由于 SendMessage的参数中需要得到窗体的句柄(handler) ,所以又要调用另一个API FindWindow(), 两者配合使用,达到在不同窗体之间的消息发送和接收功能。另外一个要点是,需要通过重写(O...

  Observer Design Pattern in C#! 2005-12-230
   · Observer Design Pattern in C#!--------------------------------------------------------------------------------Author Level Ashish Dhar Intermediate This article describes a very important and one of the powerful tools in C#.This is based on a famous design pattern called Obs...

  Singleton Pattern in CSharp 2005-12-230
   · Singleton Pattern in CSharp Level Author Beginner Kunal Cheda Singleton assures that there is one and only one instance of the class and provides a global point of access to it.There are number of cases in programming where you need to make sure that there can be one and on...

  c#中对文件的操作小结 2005-12-230
   · 1、建立一个文本文件 public class FileClass { public static void Main() { WriteToFile(); } static void WriteToFile() { StreamWriter SW; SW=File.CreateText("c:\MyTextFile.txt"); SW.WriteLine("God is greatest of them all");...

  老外编的程序(五)--如何使用全球标识符(... 2005-12-230
   · // Snippet shows how interfaces and coclasses can adorn the Guid attribute. // Running the regasm will generate .reg and .tlb files. Reg file can be // used to register the interface and coclass with the registry. Tlb file // are used to do interop. Also illustrates how Sy...

  老外编的程序(四)--HashTable的使用示例 2005-12-230
   · using System; using System.Collections; using System.Text;public class SamplesHashtable { public static void Main() { // Create and initialize a new Hashtable. Hashtable table = new Hashtable(); //Student Name, Grade table.Add("Jay&q...

  老外编的程序(三)--正则表达式的Demo 2005-12-230
   · using System.Text.RegularExpressions;class Test { static string CapText(Match m) { // get the matched string string x = m.ToString(); // if the first char is lower case if (char.IsLower(x[0])) { // capitalize it return char.ToUpper(x[0]) + ...

  老外编的程序(二)--System.Net的示例程序 2005-12-230
   · using System; using System.Net; using System.Text; using System.Collections.Specialized;public class WebClientSample { public static void Main() { try { // Download the data to a buffer WebClient client = new WebClient(); ...

  微软开放.net的部分源代码(c#编译器等) 2005-12-230
   · This morning Microsoft announced that it will be releasing shared source implementations of the .NET Common Language Infrastructure (CLI), C# compiler, and ECMAscript compiler for both Windows and FreeBSD. The license will be considerably more liberal than the shared source ...

  续(这个例子是针对ACCESS的更新、删除、还有... 2005-12-230
   · // btn_help // this.btn_help.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.btn_help.Location = new System.Drawing.Point(360, 280); this.btn_help.Name = "btn_help"; this.btn_help.Size = ne...

  老外编的程序(九):Using Indexer Properties 2005-12-230
   · // indexedproperty.cs using System;public class Document { // Type allowing the document to be viewed like an array of words: public class wordCollection { readonly Document document; // The containing document internal wordCollection(Document d) ...

  Writing Secure Code In CSharp 2005-12-230
   · Writing Secure Code using CSharpSubmitted ByUser LevelDate of SubmissionC.Vinodh KumarIntermediate04/06/2001 Mobile Code, which come from various sources like e-mail, documents and downloaded code over the Internet are the main cause for the damage, destroy or copy private da...

  c#里正则表达式的例子 2005-12-230
   · using System.Text.RegularExpressions; using System;class Validation { public static void Main() { String strToTest; Validation objValidate=new Validation(); Console.Write("Enter a String to Test for Alphabets:"); strToTest=Console.ReadLine(); ...

  C#代码的编译与执行过程(摘自ms inside c#) 2005-12-230
   · 1.You write source code in C#. 2.You then compile it using the C# compiler (csc.exe) into an EXE. 3.The C# compiler outputs the MSIL code and a manifest into a read-only part of the EXE that has a standard PE (Win32-portable executable) header. So far, so good. However, he...

  DotNet中密码的加密(转) 2005-12-230
   · <%@ Import Namespace="System.Web.Security" %> <HTML> <head> <script language="VB" runat=server> ' This function encrypts the input string using the SHA1 and MD5 ' encryption algorithms Sub encryptString(Src As Object, E As EventArgs...

  C#编程入门三部曲 2005-12-230
   · C#是微软.NET架构的主力开发语言,它功能广泛而强大,Web开发人员应该毫不犹豫地 拥抱它。本文就通过一个摄氏温度与华氏温度间相互转换的例子对C# 的GUI编程进行介绍,旨在带领你快速步入C#之强大与神奇的编程世界。 准备条件 要理解本文所举例程,首先要对C#和面向对象的编程有一个基本的了解。关...

  如何用C#实时获取CPU利用率 2005-12-230
   · using System; using System.Diagnostics; using System.Threading;public class CpuLoadInfo {// auxiliary print methods private static void Say ( string txt ) {Console.WriteLine(txt);}// auxiliary print methods private static void Say() {Say(""...

  C#中对POP3邮件解码 2005-12-230
   · Base64和下面将要介绍的Quoted-Printable都属于MIME (多部分( multi-part)、多媒体电子邮件和 WWW 超文本的 一种编码标准,用于传送诸如图形、声音和传真等非文本数 据)。MIME定义在RFC1341中。Base64是现今在互联网上应用最多的一种编码,几乎所 有的电子邮件软件头把它作为默认的二进制编码,...

  C#调用控制面板选项 2005-12-230
   · C#是一门由Microsoft新推出的开发语言,它是基于Microsoft的.NET Framework平台基础上的新兴的开发工具。正因为它是由Microsoft公司推出的,所以它对Microsoft的所有产品的兼容性与相互操作性是其它公司开发出的编程语言所不及的。Microsoft开发的Windows操作系统与C#之间的关系也非常紧密。从而实...

  用C#编写获取远程IP,MAC的方法 2005-12-230
   · 如果要想获得远程的地址,需要用sendarp这个函数来实现。具体的代码如下: [DllImport("Iphlpapi.dll")] private static unsafe extern int SendARP(Int32 dest,Int32 host,ref IntPtr mac,ref IntPtr length); [DllImport("Ws2_32.dll")] private static extern...

页次:88/228  20篇/页  首页   上一页   下一页   尾页  合计 4553 篇 Go:

- 关于本站 - 网站帮助 - 下载声明 - 友情连接 - 网站地图 -
Copyright © 2005-2006 myTopWin.Com. All Rights Reserved . [桂ICP备06004496号]