Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C# ίÍеÄÃîÎÄ¡¾×ª¡¿

ίÍкÍʼþÔÚ .Net FrameworkÖеÄÓ¦Ó÷dz£¹ã·º£¬È»¶ø£¬½ÏºÃµØÀí½âίÍкÍʼþ¶ÔºÜ¶à½Ó´¥C#ʱ¼ä²»³¤µÄÈËÀ´Ëµ²¢²»ÈÝÒס£ËüÃǾÍÏñÊÇÒ»µÀ¼÷¶ù£¬¹ýÁËÕâ¸ö¼÷µÄÈË£¬¾õµÃÕæÊÇÌ«ÈÝÒ×ÁË£¬¶øûÓйýÈ¥µÄÈËÿ´Î¼ûµ½Î¯ÍкÍʼþ¾Í¾õµÃÐÄÀï±ð£¨bi裩µÃ»Å£¬»ìÉí²»×ÔÔÚ¡£±¾ÎÄÖУ¬ÎÒ½«Í¨¹ýÁ½¸ö·¶ÀýÓÉdzÈëÉîµØ½²ÊöʲôÊÇίÍС¢ÎªÊ²Ã´ÒªÊ¹ÓÃίÍС¢Ê¼þµÄÓÉÀ´¡¢.Net FrameworkÖеÄίÍкÍʼþ¡¢Î¯ÍкÍʼþ¶ÔObserverÉè¼ÆģʽµÄÒâÒ壬¶ÔËüÃǵÄÖмä´úÂëÒ²×öÁËÌÖÂÛ¡£
½«·½·¨×÷Ϊ·½·¨µÄ²ÎÊý
ÎÒÃÇÏȲ»¹ÜÕâ¸ö±êÌâÈçºÎµÄÈÆ¿Ú£¬Ò²²»¹ÜίÍо¿¾¹ÊǸöʲô¶«Î÷£¬À´¿´ÏÂÃæÕâÁ½¸ö×î¼òµ¥µÄ·½·¨£¬ËüÃDz»¹ýÊÇÔÚÆÁÄ»ÉÏÊä³öÒ»¾äÎʺòµÄ»°Ó
ÒÔÏÂΪÒýÓõÄÄÚÈÝ£º
       public void GreetPeople(string name) {
              // ×öijЩ¶îÍâµÄÊÂÇ飬±ÈÈç³õʼ»¯Ö®À࣬´Ë´¦ÂÔ
              EnglishGreeting(name);
       }
       public void EnglishGreeting(string name) {
              Console.WriteLine(”Morning, ” + name);
       }      
 
ÔÝÇÒ²»¹ÜÕâÁ½¸ö·½·¨ÓÐûÓÐʲôʵ¼ÊÒâÒå¡£GreetPeopleÓÃÓÚÏòijÈËÎʺ㬵±ÎÒÃÇ´«µÝ´ú±íijÈËÐÕÃûµÄname²ÎÊý£¬±ÈÈç˵“Jimmy”£¬½øÈ¥µÄʱºò£¬ÔÚÕâ¸ö·½·¨ÖУ¬½«µ÷ÓÃEnglishGreeting·½·¨£¬Ôٴδ«µÝname²ÎÊý£¬EnglishGreetingÔòÓÃÓÚÏòÆÁÄ»Êä³ö “Morning, Jimmy”¡£
ÏÖÔÚ¼ÙÉèÕâ¸ö³ÌÐòÐèÒª½øÐÐÈ«Çò»¯£¬°¥Ñ½£¬²»ºÃÁË£¬ÎÒÊÇÈË£¬ÎÒ²»Ã÷°×“Morning”ÊÇʲôÒâ˼£¬Ôõô°ìÄØ£¿ºÃ°É£¬ÎÒÃÇÔÙ¼Ó¸öÖÐÎÄ°æµÄÎʺò·½·¨£º
ÒÔÏÂΪÒýÓõÄÄÚÈÝ£º
public void ChineseGreeting(string name){
       Console.WriteLine(”ÔçÉϺÃ, ” + name);
}
 
Õâʱºò£¬GreetPeopleÒ²ÐèÒª¸ÄÒ»¸ÄÁË£¬²»È»ÈçºÎÅжϵ½µ×ÓÃÄĸö°æ±¾µÄGreetingÎʺò·½·¨ºÏÊÊÄØ£¿ÔÚ½øÐÐÕâ¸ö֮ǰ£¬ÎÒÃÇ×îºÃÔÙ¶¨ÒåÒ»¸öö¾Ù×÷ΪÅжϵÄÒÀ¾Ý£º
ÒÔÏÂΪÒýÓõÄÄÚÈÝ£º
public enum Language{
   &nbs


Ïà¹ØÎĵµ£º

asp.net(c#) ·µ»ØÉÏÒ»Ò³

Õª³­Ç°±²ÃǵÄ
ÆäʵҪʵÏÖÕâ¸ö¹¦ÄÜÖ÷Òª»¹ÊÇÒªÓõ½javascript
·½·¨Ò»£º
ÔÚasp.netµÄaspxÀïÃæµÄÔ´´úÂëÖÐ
<input type="button onclick="javascript:window.history.go(-1);"value="·µ»ØÉÏÒ»Ò³">
dzÎö£ºÕâ¸öÊÇÓÃÁËHTML¿Ø¼þ£¬Í¨¹ýÒ»¸öonclickµÄʼþ£¬µ÷ÓÃÁËjavascriptÖеÄÒ»¸ö·½·¨¾Í¿ÉÒÔÁË¡£Õâ¸öÊÇ×î¼òµ¥µÄÁË£¬Ò²Í¬Ñù ......

asp.net(c#)»º´æCache¶ÔÏó£¨Ñ§Ï°ÈÕ¼ÇÒ»£©


ʲôÊÇCache¶ÔÏó?
ÄãÔÚÉú³É¸ßÐÔÄÜÍøÂçÓ¦ÓóÌÐòʱËùÓöµ½µÄÒ»¸öÎÊÌâ¾ÍÊÇÐèÒª±ÜÃâÖظ´¡£Ò»¸öCache¶ÔÏóÔÊÐíÔÚËüÃǵÚÒ»´Î±»ÇëÇóʱÔÚÄÚ´æÖлº´æÏȻºó½«±»»º´æµÄ¸±±¾ÓÃÓÚÒÔºóµÄÇëÇó¡£Ê¹Óñ»»º´æµÄ¸±±¾ÔÊÐíÄã±ÜÃâÖؽ¨Âú×ãÒÔÇ°ÇëÇóµÄÐÅÏ¢£¬ÌرðÊÇÄÇЩÿ´Î´´½¨Ê±¶¼ÐèÕ¼ÓÐÃ÷ʾµÄ·þÎñÆ÷ÉϵĴ¦ÀíÆ÷ʱ¼äµÄÃüÁî¡£
³ý»º´æ¸ö±ðÏÈç» ......

C#´ò°üSQLÊý¾Ý¿â²¿Êð°²×°


²Î¿¼¡¶ASP.NETÓëSQLÒ»Æð´ò°ü²¿Êð°²×°¡·
£¬ÕâƪÎÄÕÂÊÇÕë¶ÔVB.NETÓëSQL Ò»Æð´ò°üµÄ,µ«ÊÇÎÒʹÓõÄÊÇC#,µ±È»Ö»ÒªÐÞ¸ÄÒ»ÏÂÖ÷Òª°²×°Àà¿â¾ÍÐÐÁË!C#µÄÀà¿â´úÂëÈçÏÂ:DBCustomAction.cs
using System;
using System.Collections;
using System.Data.SqlClient;
using System.ComponentModel;
using System.Configuration.Inst ......

C#´´½¨XML

1 using System;
 2 using System.Collections;
 3 using System.Configuration;
 4 using System.Data;
 5 using System.Linq;
 6 using System.Web;
 7 using System.Web.Security;
 8 using&nbs ......

c# asp.net ×Ö·û´®¼ÓÃܽâÃܵÄÀà


using System;   
using System.Collections.Generic;   
using System.Text;   
using System.Security.Cryptography;//CryptographyÃÜÂëÊõ   
namespace DAL   
{   
    public class Enc ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ