EasyASP V2.1 update log@2009-08-31 by coldstone
New features:
•The new Easp.Include method perfectly realizes the dynamic inclusion of ASP and supports unlimited levels of in the ASP source code.
•New Easp.GetInclude method, used to obtain the results of running ASP files or obtain the source code of text files such as html files.
•New 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.
•New Easp.HtmlFormat method, used for simple formatting of html text (only spaces and line breaks are visible).
•New Easp.RegReplaceM method, used for multi-line mode of regular replacement.
•New Easp.RegMatch method, used for group capture of regular matching.
•New Easp.IsInstall method is used to detect whether a certain component is installed on the system.
•Db has added the Easp.db.QueryType property, which can set whether to use ADO's RecordSet or Command method to obtain the record set.
•db adds the Easp.db.GetRandRecord method, which is used to obtain a specified number of random record sets.
•Db has a new Easp.db.Exec method, which is used to execute SQL statements or return the record set queried in Command mode.
Other updates
•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 the bug that the new URL generated when the first parameter of the Easp.GetUrlWith method is empty has an error.
•Fixed the bug that the Easp.GetApp method cannot obtain cached data.
•Fixed the bug that Easp.AlertUrl will continue to execute server-side code before jumping.
•Fixed the bug that the Easp.JsEncode and Easp.db.Json methods in the v2.1beta version would report "type mismatch" errors.
•Fixed a bug in Easp.RandStr and Easp.db.RandStr in v2.1beta version.
•db optimizes the Easp.db.AddRecord method, and now only returns the newly added record ID number when the name of the ID field is specified. (Affects previous versions)
•db fixes the bug that a negative number appears when the number of pages in the paging drop-down box is less than the jumplong configuration.