EasyASP is a class that facilitates and quickly develops ASP. It includes the database control class Easp.db, which has functions such as performing various operations on one or more databases at the same time, calling MSSQL stored procedures, and paging recordsets. EasyASP also provides a large number of practical ASP common processes and methods, which can simplify most ASP operations. EasyASP currently provides a VBScript version for download.
EasyASP2.1UTF-8 update log:
The new Easp.Include method perfectly realizes the dynamic inclusion of ASP and supports unlimited levels in the ASP source code.
Added the Easp.GetInclude method, which is used to obtain the results of running ASP files or obtain the source code of text files such as html files.
Added Easp.Charset property, used to set the encoding of files loaded by Easp.Include method and Easp.getInclude method.
Added Easp.ConfirmUrl method, which is used to output the confirmation message box and perform Url jump according to the selection.
Added Easp.HtmlFormat method for simple formatting of html text (only spaces and line breaks are visible).
Added Easp.RegReplaceM method for multi-line mode of regular replacement.
Added Easp.RegMatch method for group capture of regular matching.
Added Easp.IsInstall method to detect whether a certain component is installed on the system.
[db] Added Easp.db.QueryType attribute, which can set whether to use ADO's RecordSet or Command method to obtain the record set.
[db] Added Easp.db.GetRandRecord method, used to obtain a specified number of random record sets.
[db] Added Easp.db.Exec method, which is used to execute SQL statements or return the record set queried in Command mode.
Optimize the Easp.DateTime method, and the display when formatted as a time difference is more user-friendly.
Optimize the Easp.RandStr and Easp.db.RandStr methods to provide more powerful and user-friendly random string and random number generation functions.
Fixed a bug in the new URL generated when the first parameter of the Easp.GetUrlWith method is empty.
Fixed the bug that the Easp.GetApp method cannot obtain cached data.
Fixed the bug that Easp.AlertUrl will continue to execute the server-side code before jumping.
Fixed the bug that the Easp.JsEncode and Easp.db.Json methods would report "type mismatch" errors in v2.1beta version.
Fixed a bug in Easp.RandStr and Easp.db.RandStr in v2.1beta version.
[db] Optimize the Easp.db.AddRecord method and now only return the newly added record ID number when the name of the ID field is specified. (Affects previous versions)
[db] Fixed the bug that a negative number appears when the number of pages in the paging drop-down box is less than the jumplong configuration.
Features of EasyASP:
[Database] can easily implement control operations such as adding, deleting, and modifying one or more databases.
[Database] When operating database fields, you do not need to consider the difference in field value data type (for example, text fields do not need to add single quotes).
[Database] comes with record set paging and stored procedure paging functions, and has rich functions that can be fully customized for configuration and calling.
[Database] can easily execute MSSQL stored procedures with various parameters and return multiple values or multiple record sets.
[Database] Complete database operation fault tolerance function, which can instantly output error SQL statements for easy debugging.
[Database] Automatically determine the database type when using an existing database connection object.
[Database] A data acquisition method specially designed for Ajax and output Json format data.
[Database] can effectively prevent SQL injection.
[ASP] comes with a large number of common ASP processes and methods to simplify most ASP operations.
[ASP] Perfectly realizes the dynamic loading of ASP files and supports unlimited levels of ASP native include.
[ASP] comes with data type verification and server-side form verification functions.
[ASP] can easily obtain the page address and filter and replace URL parameters.
[Tools] It has code highlighting and code prompt extension plug-ins for DreamweaverCS3 and CS4 developed specifically for EasyASP.
[Tool] has a complete help manual and a large number of application examples.