aspÎļþ²Ù×÷
http://fjtysgzx.hpw-js.com/Photo-151469.aspx) <%@ Import Namespace="System" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Net"%>
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="gb2312" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Page_Load(Object sender, EventArgs e)
{
string path = @Server.MapPath("/shuju/test2");
//Dim path As String = "/shuju/test1/"
//Dim obj As objFSO
//obj = New objFSO
Response.Write(Directory.Exists(path));
//Response.Write(path)
int flag = 1;
try
{
//Interop.Scripting.FileSystemObject fso=new Interop.Scripting.FileSystemObject();
//fso.CreateFolder(Path);
if (!Directory.Exists(path))
Directory.CreateDirectory(path);
}
catch(Exception ee )
{
Response.Write(ee.Message);
flag = -1;
}
path="/shuju/";
Ïà¹ØÎĵµ£º
ASP.NET MVC FrameworkÊÇ΢Èí¹Ù·½ÌṩµÄMVCģʽ±àдASP.NET WebÓ¦ÓóÌÐòµÄÒ»¸ö¿ò¼Ü.ÒÑÓÚ2009Äê3ÔÂ19ÈÕÕýʽ·¢²¼. MVC(Model-View-Controller)ÓÃÓÚ±íʾһÖÖÈí¼þ¼Ü¹¹Ä£Ê½.Ëü°ÑÈí¼þϵͳ·ÖΪÈý¸ö»ù±¾²¿·Ö:Ä£ÐÍ(Model),ÊÓͼ(View)ºÍ¿ØÖÆÆ÷(Controller). ¼ÈÈ»ÊÇÒ»¸öÓÅÐãµÄ¿ò¼Ü£¬ÄÇô¾ÍÖµµÃȥѧϰһ°Ñ£¬ÍøÉÏËÑË÷ÁËÐí¶à×ÊÁÏ£¬Ï£Íû¶ÔÓ ......
VBSCRIPT µÄÊý¾ÝÀàÐÍ
VBSCRIPT Ö»ÓÐÒ»ÖÖÊý¾ÝÀàÐÍ£ºvariant £¬³ÌÐò¸ù¾ÝÉÏÏÂÎÄÀ´ÅÐ¶Ï variant ΪÊý×ÖÀàÐÍ»¹ÊÇ×Ö·û´®ÀàÐÍ¡£
ÒýºÅÄÚµÄÊý×Ö±»¿´³É×Ö·û´®£¬È磺a="12" £»
²»´øÒýºÅµ±È»¾ÍÊÇÊý×Ö£¬È磺b=13 ¡£
ʵÀý£º
ÒÔÏÂΪÒýÓÃÄÚÈÝ£º
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C// ......
Javascript »ù±¾½á¹¹ºÍÓï·¨
ÓëVBScriptÏàͬ£¬Ò²ÊÇдÔÚ <% %> Ö®¼ä¡£
Óà var ÉùÃ÷±äÁ¿£¬Óï¾äµÄĩβÓÓ;”¸ô¿ª¡£
ÒÔÏÂΪÒýÓÃÄÚÈÝ£º
<%@LANGUAGE="JSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml ......
Javascript µÄ±äÁ¿ÉùÃ÷¹æÔò
1¡¢±äÁ¿ÃûÒÔÓ¢ÎÄ×Öĸ¿ªÍ·£»
2¡¢³¤¶È²»Äܳ¬¹ý255×Ö½Ú£»
3¡¢Ö®¼ä²»ÄÜÓпոñ£»
4¡¢²»ÄÜ°üº¬ Javascript µÄÔËËã·û£»
5¡¢²»ÄÜʹÓà Javascript µÄ±£Áô×Ö£»
6¡¢Çø·Ö´óСд¡£
Javascript µÄÁ÷³Ì¿ØÖÆÓï¾ä
ÓëVBSCRIPT Ïàͬ£¬ Javascript µÄÁ÷³Ì¿ØÖÆÓï¾äÓë·ÖΪÌõ¼þÓï¾äºÍÑ»·Óï¾ä¡£
ʵÀ ......