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

asp.net ÖлñÈ¡ÖÐÎÄÊ××ÖĸµÄ´úÂë Çײâ

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text.RegularExpressions;
using System.Text;
public partial class baikeWeb_test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
        }
    }
    static public string GetChineseSpell(string strText)
    {
        int len = strText.Length;
        string myStr = "";
        for (int i = 0; i < len; i++)
        {
            myStr += getSpell(strText.Substring(i, 1).ToUpper());
        }
        //¿ÉÒÔ·µ»ØËùÓеÄÖÐÎÄ×Ö·ûµÄÊ××Öĸ
        //return myStr;
        return getSpell(strText.Substring(0, 1)).ToUpper();
    }
    static public string getSpell(string cnChar)
    {
        byte[] arrCN = Encoding.Default.GetBytes(cnChar);
        if (arrCN.Length > 1)
        {
            int area = (short)arrCN[0];
            int pos = (short)arrCN[1];
     &nbs


Ïà¹ØÎĵµ£º

asp.net ͼƬ´¦Àí »ñȡͼƬ¿í¶ÈºÍ¸ß¶È

1.»ñȡͼƬ¿í¶ÈºÍ¸ß¶È
    1.Äú¿ÉÒÔʹÓà System.Drawing.Image Àà
    System.Drawing.Image img = System.Drawing.Image.fromFile(Server.MapPath("example.gif"));
int width = img.Width;
int height = img.Height;
img.Dispose();
µ«ÊÇÕâÀïÎÒÃÇÈ´²»ÄÜÔÚµ¼ÈëÃû³Æ¿Õ¼äºóʹÓà Image& ......

asp.net Éú³ÉÑéÖ¤ÂëÁ½¸öÀý×Ó

#region 1
private void CreateCheckCodeImage()
{
//»ñÈ¡Ëæ¼´×Ö·û´®
int number;
char code;
string checkCode = String.Empty;
System.Random random1 = new Random();
for (int i = 0; i < 5; i++)
{
number = random1.Next( ......

asp.net µ¼³öExcel/Word

asp.netÖе¼³öÓкܶ෽·¨¡£ÆäÖбȽÏÍÆ¼öµÄ¼æÈݵ¼³öÊǵ¼³öΪword/excel¼æÈݵÄmhtml¸ñʽ²¢ÉèÖÃÁ÷¸ñʽΪword»òexcel¡£
ÕâÖз½·¨µÄºÃ´¦ÊÇ¿ÉÒÔ½¨Á¢Ò»¸öͨÓõĿ⡣±¾ÎÄÖÐÌá³öÁËÒ»¸öͨÓõĵ¼³öÀ࣬ʵ¼ùÖÐʹÓÃЧ¹û½ÏºÃ¡££¨ps£¬html½âÎöÀàдµÄ±È½Ï²Ö´Ù£¬¸÷λÈçÓÐÐËȤ¿ÉÖØÐ´Ò»ÏÂ~£©
///
///@Author Simsure
///@Version 1.0
/// ......

ASP.NET Êýѧ¹«Ê½±íʾ

×î½ü¿´µ½Ò»Ð©ÏûÏ¢£¬¸Ð¾õHTML5ÈÔȻңңÎÞÆÚ£¬ÍøÒ³ä¯ÀÀÆ÷±íÏÖ²ãµÄ¶«Î÷£¬ÒÀÈ»¸÷×ÔΪÖ÷£¬Ajax¹ã·ºÁ÷ÐУ»AdobeµÄFlashÇ¿´ó¼áͦ£»Î¢ÈíSilverLightÒ°Ðĸü´ó£¬´òË㿪·ÅCOM½Ó¿Ú£¬ÉõÖÁ´«³ö»ùÓÚSilverLightµÄ²Ù×÷ϵͳ¡£ÕâЩ¶«Î÷ţƤ´µµÃ´ó´óµÄ£¬µ«ÔÚÍøÉÏÒªÕÒ¸ö±È½ÏºÃÓõÄÊýѧ¹«Ê½£¨»ò»¯Ñ§Ê½×Ó£©±íʾ£¬¶¼±È½ÏÄÑ¡£

Ïò¼ÆËã»úÊä ......

ASP.NETѧϰ¾­ÑéÊÕ¼¯£¨²»¶Ï¸üУ©

       ÔÚÈÕ³£Ñ§Ï°ºÍʹÓÃASP.NETµÄ¹ý³ÌÖУ¬ÓÐЩ±È½ÏÌØÊâÓÐÓõľ­ÑéÊÕ¼¯ÔÚÕâÀ·½±ã×Ô¼º¼ÇÒäºÍÀí½â£¬Ò²Ï£ÍûÄܰïÖúµ½Ò»Ð©³õѧÕ߲ο¼¡£Èç¹ûÓÐЩ²»×ãµÄµØ·½Ï£Íû¸ßÊÖ²»Áߴͽ̣¡£¡£¡
Ò»¡¢ÔÚÒ»°ã´¦ÀíÎļþ(ashx)ÖÐʹÓÃSessionʱ£¬ÐèÒªÒý½øÃüÃû¿Õ¼ä£ºusing System.Web.SessionState; ²¢ÇÒʹ¸ÃÀàÊµÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ