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

asp.net browse for folder

System.Windows.Forms;
FolderBrowserDialog ÌṩÁËÎÒÃÇÐèÒªµÄÎļþ¼Ðä¯ÀÀ¶Ô»°¿ò£¬ÒòΪÊÇCOM±ØÐëÊÇSTAµÄ£¬ÉèÖà AspCompat="true"À´½â¾öÕâ¸öÎÊÌâ¡£
Ó÷¨£º
    protected void Button1_Click(object sender, EventArgs e)
    {
 
         if (folderBrowser.ShowDialog() == DialogResult.OK)
         {
             this.txtFolder.Text = folderBrowser.SelectedPath;
         }
    }


Ïà¹ØÎĵµ£º

asp.net ÇëÇó²ÎÊý´íÎóÒì³£´¦Àí

package com.accp.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.H ......

ASP.NET ºÍ IIS ÅäÖÃ×Ô¶¨ÒåÀ©Õ¹ÃûÍøÒ³

¿´¹ý΢ÈíµÄÍøÕ¾ÓÐʱºò£¬ÊÇ.MSPXµÄÀ©Õ¹Ãû£¿ÆäʵÄãÒ²¿ÉÒÔÅäÖ㬺ܼòµ¥¡£Here We Go!
ÅäÖÃWEB.CONFIG£º
<system.web>
    <compilation>
       <buildProviders>
          <add  ......

[ת]asp.net get setÓ÷¨

     ÔÚÔçÆÚѧϰc#µÄ¹ý³ÌÖУ¬¾­³£Óöµ½ÕâÑùµÄÓï¾ä£º
public string StudentName
{
get{return stuName;}
set{stuName=value;}
}
  
      µ±Ê±Ò²²»ÊǺÜÃ÷°×ΪʲôҪÕâÑù£¿Ñ§ÉîÁËc#ºó£ ......

asp.net·ÀÖ¹ÖØ¸´Ìá½»Êý¾Ý

protected void Page_Load(object sender, EventArgs e)
...{
this.btnOK.Attributes.Add("onclick", ClientScript.GetPostBackEventReference(btnOK, "Click") + ";this.disabled=true; this.value='Ìá½»ÖÐ...';");
}
//°´Å¥´¦Àí·½·¨
protected void btnOK_C ......

Asp.netÒ³Ãæ´«µÝ²ÎÊýµÄ¼¸ÖÖ·½·¨¶Ô±È½²½â

µÚÒ»ÖÖ·½·¨£º
ͨ¹ýURLÁ´½ÓµØÖ·´«µÝ
send.aspx:
   protected void Button1_Click(object sender, EventArgs e)
     {
         Request.Redirect("Default2.aspx?username=honge");
     }
receive.aspx:
string user ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ