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

ÔõôÓÃJSÐÞ¸Äasp:Literal¿Ø¼þµÄÄÚÈÝ

a.aspx ´úÂë: <asp:Literal ID="ltr1" runat="server" > </asp:Literal>

a.aspx.cs ÀïPage_Load´úÂë: ltr1.Text=" <table> <tr> <td>"+"ÄãÊÇË­"+" </td> </tr> </table>"£»

ÏÖÔÚÎÒÏëÓÃJS°Ñltr1.TextµÄÄÚÈݸĵô(ÉèÏëÈçÏ´úÂë)£¬ÄÄλ´óÏÀ°ï°ïæ¡£
document.getElementById("ltr1").value =" <table> <tr> <td>"+"ÄãÊÇË­"+" </td> </tr> <tr> <td>"+"ÄãÊÇË­"+" </td> </tr> </table>"£»

.valueÎÞЧ£¬ÓÃ.TextÒ²ÎÞЧ¡£

alert(document.getElementById("ltr1").value);ºÍalert(document.getElementById("ltr1").Text);¶¼²»µ¯³ö¶Ô»°¿ò¡£

Çó¾ÈÀ²£¡£¡£¡
LZ ¿´À´¶Ô¿Í»§¶ËºÍ·þÎñ¶Ë²»¹»Á˽⣬ltr1ÊÇ·þÎñÆ÷¶Ë¿Ø¼þ£¬²»ÄÜÔÚJSÀïÖ±½Óµ÷Ó㬵«¿ÉÒÔÔÚaspx.cs Àïд·½·¨µ÷ÓñÈÈçÄãµÄJS·½·¨Ãû³ÆÊÇcheck£¨£©£¬
function check£¨£©
{
  alert(document.getElementById("ltr1").value);
}
ÔÚa.aspx 
<asp:Literal ID="ltr1" runat="server" > </asp:Literal>

<asp:Button ID="btnOK" runat="server" Text="ת»»" />

ÔÚa.aspx.csµÄPage_Load ÀïдÈë
btnDel.Attributes.Add("onclick", "return check£¨£©;");


¾ÍOKÁË

asp.netÒ¹»°Ö®°Ë£ºÊý¾Ý°ó¶¨¿Ø¼þ


Ïà¹ØÎÊ´ð£º

aspÊÂÎñÎÊÌâ

<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=") ......

Ò»¶Îaspתphp

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

ÎÒÏë×öÒ»¸öaspÍøÕ¾£¬µ«ÊDz»ÖªµÀ×öʲô£¡

×î½üÎÒͨ¹ýѧϰ£¬¸Ð¾õ×Ô¼ºÑ§µÄ»¹¿ÉÒÔÁË£¬Ïë×öÒ»ÍøÕ¾£¬µ«ÊÇÒ»Ö±¶¼ÕÒ²»µ½Ìâ²Ä£¬²»ÖªµÀ×öʲô£¬Ï£Íû¸÷λ¸øÎÒµãÒâ¼û£¬Èç¹ûÓÐÐèÇóÎĵµ¾Í¸üºÃÁË£¡Ï£Íû´ó¼Ò¸øÎÒµãÒâ¼û£¬Ð»Ð»£¡
ÏÈ×ö¸öÆóÒµÍøÕ¾°É£¬ÎҸоõÒ»¸öÈË×öÍøÕ¾²»ÊÊÒË ......

Çó¸ÄÒ»¸öASPС³ÌÐò¼ÓÉÏ´«¹¦ÄܺÍÏÂÔØ¹¦ÄÜ¡£¡£

Îļþ£ºfolder.inc
HTML code:

<%
Dim folderini,pos,pageName
fPath = Request.ServerVariables("PATH_TRANSLATED")
pos = instrRev(fPath,"\")
folderini = Left(fPath,pos)+&qu ......

aspÒ³Ãæµ÷ÊÔÎÊÌâ

½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£


µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£

¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁ˰ɡ£¡£

¶÷ÔõôȡÏûÄØ£¿

Òªµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ