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

ÓÃASP.NET×ö¼òÒ×¼ÆËãÆ÷ºÍ¾Å¾Å³Ë·¨±í

¼òÒ×¼ÆËãÆ÷
 
 
1.ÔÚÒ³ÃæÉÏ·ÅÈëTextBox¿Ø¼þºÍdropdownlist¿Ø¼þÒÔ¼°Button¿Ø¼þ,ÐγÉÏÂͼµÄÍâ¹Û.
 
 
 
 
 
 
 
2.ÔÚ×öºÃÒ³ÃæºóË«»÷Button¿Ø¼þ(¼´"="),дÈëÈçÏ´úÂë:
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
 
public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        double a = Convert.ToDouble(TextBox1.Text);//¶¨ÒåÒ»¸ö±äÁ¿a£¬°ÑTextBox1ÖеÄÖµ¸³¸øËü
        double b = Convert.ToDouble(TextBox2.Text);//¶¨ÒåÒ»¸ö±äÁ¿b£¬°ÑTextBox2ÖеÄÖµ¸³¸øËü
        /*¶¨ÒåµÄ±äÁ¿Îª¸¡µãÐÍ*/
        if(DropDownList1.SelectedValue == "+" )//»ñÈ¡Ñ¡ÔñµÄÔËËã·û£¬È·¶¨ÔËËãÀàÐÍ
        {
            TextBox3.Text = Convert.ToString(a + b);
        }
        else if (DropDownList1.SelectedValue == "-")
        {
            TextBox3.Text = Convert.ToString(a - b);
        }
        else if (DropDownList1.SelectedValue == "*")
        {
            TextBox3.Text = Convert.ToString(a * b);
        }
        else if (DropDownList1.SelectedValue == "/")
 &nbs


Ïà¹ØÎĵµ£º

Win7ÏÂÅäÖÃIIS½Å±¾Ó³ÉäʵÏÖAsp.NetµÄHttp¹ÜµÀ³ÌÐò

 
       Asp.Net³ÌÐòµÄ¸ß¼¶¹¦ÄÜ£¬Óкܶ඼ÊÇ»ùÓÚIHttpHandler½Ó¿ÚÀ´ÊµÏֵģ¬ÔÚWinwods Server 2003 Ï£¬ÅäÖÃIIS6µÄ Web·þÎñÀ©Õ¹·Ç³£¼òµ¥¡£×î½üÓÃWin7+IIS7.5µÄÈËÔ½À´Ô½¶à£¬ÔÚÕâ¸ö»·¾³ÏÂÅäÖÃAsp.NetµÄWeb·þÎñÀ©Õ¹¾ÍÓÐЩÂé·³¡£ÒÔÏÂÄÚÈÝ£¬¾ÍÊÇÔÚWin7ºÍIIS7.5»·¾³ÏÂÅäÖùý³Ì¡£
 
& ......

ASP.NETÖб³¾°ÒôÀֵĴ¦Àí

ÔÚASP.NETµÄSOUCEÖУ¬²»»á´æÔÚBGSOUNDÕâ¸ö±êÇ©£¬µ«ÊÇ£¬Èç¹ûÎÒÏë²åÈëÒ»¶Î±³¾°ÒôÀÖÔõô°ì£¿
ÎÒÕâÀïÓÐÁ½ÖÖ½â¾ö·½·¨£º
1¡¢Ð´ÈëÒ»¸öÍøÒ³²¥·ÅÆ÷£¬µ«ÊÇÕâÑù£¬±¾ÈËÈÏΪºÜ¸´ÔÓ£¬¶øÇÒ£¬ÎÒÒ²²»»á
2¡¢ÓÃIFRAMEǶÌ×Ò»¸öHTMLÍøÒ³£¬½«IFRAMEµÄµÄWIDTHºÍHEIGHT¶¼ÉèÖóÉ0PX£¬¼´¿É¡£ ......

asp.net wap 2.0 ʵÏÖ ishtml32 Ï ¼ÓÔØ cssÎļþ

ʹÓÃasp.net ¿ª·¢wap ÍøÕ¾£¬ÔÚishtml32Ï£¬Èç¹ûÊÖ»úä¯ÀÀÆ÷Ö§³Öishtml32,µ«ÊÇ SupportsCss=False ʱ£¬Ïë¼ÓÔØcssÎļþʱ£¬²ÉÓÃÖØдmobile:formµÄ·½·¨À´ÊµÏÖ
using System;
using System.Configuration;
using System.Web.UI.MobileControls;
using System.Web.UI.MobileControls.Adapters;
public class MyForm : Form
{ ......

Asp.net ²Ù×÷webclientÉÏ´«ÎļþÎÞ·¨ÉÏ´«µÄ½â¾ö·½°¸

ÒòΪÏîÄ¿ÖÐҪʹÓÃajaxÉÏ´«Í¼Æ¬Îļþ£¬ÓÖÎÞ·¨ÕÒµ½ºÏÊʵÄjquery²å¼þ£¬Ö»ÓÐ×Ô¼º¶¯ÊÖдһ¸ö¡£Ë¼Â·ÈçÏ£º
1.ÓÃjsÈ¡µÃÎļþµÄÍêȫ·¾¶
2.ajax´«µ½ºǫ́
3.ʹÓÃwebclientµÄuploadfileÉÏ´«Îļþ¡£
Ò»ÇÐÊÓºõûÓÐÎÊÌâÁË£¬µ«ÊÇʵ¼Ê¿ª·¢ÖУ¬±¾»ú²âÊÔûÓÐÈκÎÎÊÌ⣬µ«ÊDz¿ÊðºóÈ´×ÜÊÇÕÒ²»µ½ÉÏ´«µÄÎļþ£¬µ÷ÊÔ´úÂëºó·¢ÏÖÎÞ·¨·ÃÎÊ¿Í»§¶Ë·¾¶µ ......

ASP.NET Session¶ªÊ§ÎÊÌâÔ­Òò¼°½â¾ö·½°¸

Õý³£²Ù×÷Çé¿öÏ»áÓÐASP.NET Session¶ªÊ§µÄÇé¿ö³öÏÖ¡£ÒòΪ³ÌÐòÊÇÔÚ²»Í£µÄ±»²Ù×÷£¬ÅųýSession³¬Ê±µÄ¿ÉÄÜ¡£ÁíÍ⣬Session³¬Ê±Ê±¼ä±»É趨³É60·ÖÖÓ£¬²»»áÕâô¿ì¾Í³¬Ê±µÄ¡£
ÏÖÔÚÎҾͰÑÔ­ÒòºÍ½â¾ö°ì·¨Ð´³öÀ´¡£
ASP.NET Session¶ªÊ§Ô­Òò£º
ÓÉÓÚAsp.net³ÌÐòÊÇĬÈÏÅäÖã¬ËùÒÔWeb.ConfigÎļþÖйØÓÚSessionµÄÉ趨ÈçÏ£º
< sessi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ