搜索列表
-
javascript asp教程 日期相关
【ASP编程】JavaScript is loosely typed. Database files are not. If you put text into a Boolean database column or a Boolean value into a date/time column, then you will get an error. For the most part this is not a problem, except for date/time. It does not correspond to the JavaScript Date Object...
javascriptasp教程日期相关 -
javascript asp教程添加和修改
【ASP编程】The Connection Execute(): If you want to retrieve data from a database then you have no choice but to use a Recordset. However, for the purposes of adding, updating, and deleting data you don't necessarily have to have a Recordset. It's up to you. For the purposes of adding, updating and delet...
javascriptasp教程添加和修改 -
javascript asp教程More About Recordsets
【ASP编程】Below we will attempt to access data from a database without knowing the column names. Clearly the best way to utilize data in your database is to keep track of your schema. Schema is the layout of data in your database. The concept is well beyond the scope of this web site, but it is ...
javascriptasp教程MoreAboutRecordsets -
javascript asp教程Recordset记录
【ASP编程】Recordset is another created/instanciated Object. It is a collection of data taken from a database. Recordset has 26 properties, 25 methods, 11 events, and two (2) collections. The vast majority of Recordset is beyond the scope of this web site. Quick Aside: The database we are using for l...
javascriptasp教程Recordset记录 -
javascript asp教程创建数据库连接
【ASP编程】While this section is devoted to ASP database utilization, it very important to remember that this web site is not intended to be a thorough ASP resource. Remember, the focus of this site is strictly limited to how to use JavaScript as your primary scripting language for ASP. You'...
javascriptasp教程创建数据库连接 -
javascript asp教程错误处理
【ASP编程】The ASPError Object has zero (0) Methods, nine (9) Properties, zero (0) Events, and zero (0) Collections. AspCode AspDescription Category Column Description File Line Number SourceThe way you access the ASPError Properties is with a Server Method. Yeah, I know; it does...
javascriptasp教程错误处理 -
javascript asp教程服务器对象
【ASP编程】Overview: The Server Object has seven (7) Methods, one (1) Property, zero (0) Events, and zero (0) Collections. List of Methods: Server Methods CreateObject( ) Server.CreateObject("ADODB.Recordset")Create an instance of an Object Execute( ) Server.Execute("fileName.asp")E...
javascriptasp教程服务器对象 -
javascript asp教程第十三课--include文件
【ASP编程】Server Side Includes: Experienced JavaScript programmers know that code reuse is good. Experienced JavaScript programmers also know that JavaScript functions are data types. So, we should be able to store a JavaScript function inside a Session Variable or an Application Variable,...
javascriptasp教程第十三课--include文件 -
javascript asp教程第十二课---session对象
【ASP编程】Overview: The Session Object is how you track a single user across many pages. It has four (4) properties, two (2) collections, one (1) method, and two (2) events. Get Started: In this series of examples we will create a password system. We will use the Session Object to track whet...
javascriptasp教程第十二课---session对象 -
javascript asp教程第十一课--Application 对象
【ASP编程】Overview: The Application Object represents a collection of ASP pages. The Application object has zero (0) properties, two (2) collections, two (2) methods, and two (2) events. Get Started: Below are a couple scripts for lesson11. <%@LANGUAGE="JavaScript"%> <%...
javascriptasp教程第十一课--Application对象 -
javascript asp教程第十课--global asa
【ASP编程】Global.asa: First of all, what is a global.asa? It's an optional script file that holds certain "global" information that you can access through the entire ASP appliciation. The global.asa is a plain text file saved with the .asa extension. You should only have one global.asa and it should go ...
javascriptasp教程第十课--globalasa -
javascript asp教程第九课--cookies
【ASP编程】Response Cookies in General: We'll start with the Response Cookies collection. I don't think it could be any easier. You simply put the name of the cookie in the argument. The corresponding value is a string. The only time it gets complicated is when you use keys (which I demonstrate b...
javascriptasp教程第九课--cookies