Ò»¶Î·Ç³£¼òµ¥µÄ HTML ´úÂ룺
HTML code:
<form name="form1" method="post" action="Roles.aspx" id="form1">
<asp:Button ID="btn_1" runat="server" Text="Button A" OnClick="btn_1_Click" />
......
ÓÃfieluploadÉÏ´«Îļþ,±¾µØµ÷ÊÔ¿ÉÒÔ,µ«·ÅÔÚ·þÎñÆ÷ÉϾͲ»ÐÐÁË,Çë¸ßÊÖ¿´¿´Ôõô»ØÊÂ
string name = this.fulXJXMWjYj.PostedFile.FileName;
string type2 = name.Substring(name.LastIndexOf(".") + 1);
if (type2 == "doc" || type2 = ......
Ò»¸öTextBox,Ò»¸öCalendar¿Ø¼þ,ÎÒÏëµ±TextBoxµÃµ½½¹µãʱCalendar¿Ø¼þ¾ÍÒþ²ØÆðÀ´,ÎÒÏÂÃæµÄ´úÂëÀÏÊÇÒþ²Ø²»ÁË?
C#:
this.tbInHospitalDateBegin.Attributes.Add("onfocus", "calVisible(" + this.Calendar2.ClientID+ ")");
js:
function calVisible(obj ......
±¾È˳õ´Î½Ó´¥GIS£¬ÏëÔÚ×Ô¼ºÓÃasp.net½¨µÄÍøÕ¾ÄÚ£¬Ç¶ÈëGIS¼¼Êõ£¬×öÒ»¸öµØͼ£¬ÄÜÔÚµØͼÉ϶¯Ì¬Éú³É·Ïߣ¬ÓÉÓÚ³õ´Î½Ó´¥GIS£¬ÊµÔÚÊDz»Öª´ÓºÎÏÂÊÖ£¬¿ª·¢WEBGISÓÃЩʲôÑùµÄÈí¼þ¹¤¾ß£¬ÓÖÈçºÎ½«×ö³ÉµÄµØͼÔÚvs2008ÀïʹÓã¬ÕâÊǽÐGIS¶þ´Î¿ª·¢Âð£¿ÇëÎÊÀÏÊÖÃÇÈçºÎÍê³ÉÉÏÊöËù˵µÄ¹¦ÄÜ£¬³ýÁËVS2008»¹ÐèҪЩʲô¹¤¾ß£¿
²Î¿¼
²Î¿¼
µ ......
Ç°¶Îʱ¼äÅöµ½Ò»µÀÃæÊÔÌâÈçÏ£º
test.aspxÒ³ÃæÓÐÈçÏ´úÂ룺
Response.Write(Test.GetDate());
TestÀàÈçÏ£º
public class Test
{
static string dt="";
public static string GetDate()
{
dt = DateTime.Now.ToString();
Thread.Slee ......
ÔÚÍøÉÏ¿´µ½Ò»¶Î¹ØÓÚÒýÓÃLiteralµÄ´úÂë
<head>
<script runat="server">
void ButtonClick(Object sender, EventArgs e)
{
MM1.Text="Welcome to ASP.NET!!"; Õâ¸ö²¿· ......