ASP PHP ASP.net Éú³É¾²Ì¬Ò³ÃæµÄ·½·¨
Ëæ ×ÅÍøÕ¾·ÃÎÊÁ¿µÄ¼Ó´ó£¬Ã¿´Î´ÓÊý¾Ý¿â¶ÁÈ¡¶¼ÊÇÒÔЧÂÊ×÷Ϊ´ú¼ÛµÄ£¬ºÜ¶àÓÃACCESS×÷Êý¾Ý¿âµÄ¸ü»áÉîÓÐÌå»á£¬¾²Ì¬Ò³¼ÓÔÚËÑË÷ʱ£¬Ò²»á±»ÓÅÏÈ¿¼ÂÇ¡£»¥ÁªÍøÉÏÁ÷ ÐеÄ×ö·¨Êǽ«Êý¾ÝÔ´´úÂëдÈëÊý¾Ý¿âÔÙ´ÓÊý¾Ý¿â¶ÁÈ¡Éú³É¾²Ì¬Ã棬ÕâÑùÎÞÐμä¾Í¼Ó´óÁËÊý¾Ý¿â¡£½«ÏÖÓеÄASPÒ³Ö±½ÓÉú³É¾²Ì¬Ò³£¬½«»á½ÚÊ¡ºÜ¶à¡£
ÏÂÃæµÄÀý×ÓÊǽ«¡¢index.asp?id=1/index.asp?id=2/index.asp?id=3/ÕâÈý¸ö¶¯Ì¬Ò³Ã棬·Ö±ðÉú³Éndex1.htm,index2.htm,index3.htm´æÔÚ¸ùĿ¼ÏÂÃ棺
<%
dim strUrl,Item_Classid,id,FileName,FilePath,Do_Url,Html_Temp
Html_Temp="<UL>"
For i=1 To 3
Html_Temp = Html_Temp"<LI>"
Item_Classid = i
FileName = "Index"&Item_Classid".htm"
FilePath = Server.MapPath("/")"\"
Html_Temp = Html_Temp&FilePath"</LI>"
Do_Url = "http://"
Do_Url = Do_Url&Request.ServerVariables("SERVER_NAME")"/main/index.asp"
Do_Url = Do_Url"?Item_Classid="&Item_Classid
strUrl = Do_Url
dim objXmlHttp
set objXmlHttp = Server.CreateObject("Microsoft.XMLHTTP")
objXmlHttp.open "GET",strUrl,false
objXmlHttp.send()
Dim binFileData
binFileData = objXmlHttp.responseBody
Dim objAdoStream
set objAdoStream = Server.CreateObject("ADODB.Stream")
objAdoStream.Type = 1
objAdoStream.Open()
objAdoStream.Write(binFileData)
objAdoStream.SaveToFile FilePath,2
objAdoStream.Close()
Next
Html_Temp = Html_Temp"<UL>"
%>
<%
Response.Write ( "³É¹¦Éú³ÉÎļþ£º" )
Response.Write ( "<BR>" )
Response.Write Html_Temp
%>
PHPÉú³É¾²Ì¬ÍøÒ³µÄ·½·¨
¡¡¡¡¿´µ½ºÜ¶àÅóÓÑÔÚ¸÷¸öµØ·½·¢ÌûÎÊPHPÉú³É¾²Ì¬ÎÄÕÂϵͳµÄ·½·¨£¬ÒÔÇ°Ôø×ö¹ýÕâÑùÒ»¸öϵͳ£¬Ëì̸Щ¿´·¨£¬ÒÔ¹©¸÷λ²Î¿¼¡£ºÃÁË£¬ÎÒÃÇÏȻعËһЩ»ù±¾µÄ¸ÅÄî¡£
¡¡¡¡Ò»£¬PHP½Å±¾Ó붯̬ҳÃæ¡£
¡¡ ¡¡PHP½Å±¾ÊÇÒ»ÖÖ·þÎñÆ÷¶Ë½Å±¾³ÌÐò£¬¿Éͨ¹ýǶÈëµÈ·½·¨ÓëHTMLÎļþ»ìºÏ£¬Ò²¿ÉÒÔÀ࣬º¯Êý·â×°µÈÐÎʽ£¬ÒÔÄ£°åµÄ·½Ê½¶ÔÓû§ÇëÇó½øÐд¦Àí¡£ÎÞÂÛÒÔºÎÖÖ·½ ʽ£¬ËüµÄ»ù±¾ÔÀíÊÇÕâÑùµÄ¡£ÓÉ¿Í»§¶ËÌá³öÇëÇó£¬ÇëÇóijһҳÃæ¡¡----->¡¡WEB·þÎñÆ÷ÒýÈëÖ¸¶¨ÏàÓ¦½Å±¾½øÐд¦Àí¡¡----->¡¡½Å±¾±»ÔØ Èë·þÎñÆ÷¡¡----->¡¡ÓÉ·þÎñÆ÷Ö¸¶¨µÄPHP½âÎöÆ÷¶Ô½Å±¾½øÐнâÎöÐγÉHTMLÓïÑÔÐÎʽ¡¡---->¡¡½«½âÎöºóµÄHTMLÓï¾äÒÔ°üµÄ·½Ê½´« »Ø¸øä¯ÀÀÆ÷¡£Ó
Ïà¹ØÎĵµ£º
protected void Button1_Click(object sender, EventArgs e)
{
GridViewRow gvr = (sender as Button).NamingContainer as GridViewRow; //»ñµÃÈÝÆ÷
if(gvr != null)
{
int index = gvr.RowIndex;//index¾ ......
ASP.NET´ò¿ªÐ´°¿Ú·½·¨Ò»:
Response.Write(" <script language=\"javascript\">window.open('aaa.aspx','д°¿Ú,\"toolbar=yes,location=no,directories=yes,status=yes,menubar=yes,resizable=yes,scrollbars=yes\"); </script>");
ÕâÖÖ·½Ê½´úÂëÿ´ÎÊÇÉú³ÉÔÚÒ³Ãæ×¶Ë
ASP.NET´ò¿ªÐ´°¿Ú·½·¨¶þ:
stri ......
ͬÑùÊÇһƪתÌûµÄÎÄÕÂ,
ÔÎÄ: http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-2-modelmetadata.html
×ÅÖؽéÉÜÁËASP.NET MVC2 ÀïÃæµÄ ModelMetadata Àà
ASP.NET MVC 2 Templates, Part 2: ModelMetadata
Series Index
Part 1: Introduction
Part 2: ModelMetadata
Understanding You ......
try
{
string _conStr = "Driver={MySQL ODBC 3.51
Driver};server=localhost;database=test;uid=test;password=1;option=3";
& ......
ÈÕÆÚ¸ñʽ»¯date()º¯ÊýµÄ¸ñʽ»¯×Ö·û£º
Y Ä꣬4λÊý×Ö
m Ô£¬Ç°Ãæ´ø0:"01"-"12"
d ÔÂÖеÄÌì
H ʱ£¬24ʱÖÆ
i ·Ö
s   ......