国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > ASP > 正文

asp ADO GetString函數與用GetString來提高ASP的速度第1/2頁

2020-07-27 13:02:34
字體:
來源:轉載
供稿:網友
rs.getstring的方法GetString的作用是:以字符串的形式返回指定的記錄集。可以使用這個方法向ASP文件中添加HTML表格。
getstring 方法語法
Set str=objRecordset.GetString(format,n,coldel,rowdel,nullexpr) 
Parameter參數Description描述
formatOptional. A StringFormatEnum value that specifies the format when retrieving a Recordset as a string
可選參數。指定一個
n

Optional. The number of rows to be converted in the Recordset
RecordsetStringFormatEnum值。它是用于指定提取記錄集的格式

coldelOptional. If format is set to adClipString it is a column delimiter. Otherwise it is the tab character
可選參數。如果format[格式]值設置為adClipString,那么它就是一個列界定符;除此之外,它便是一個tab[制表符]
rowdelOptional. If format is set to adClipString it is a row delimiter. Otherwise it is the carriage return character
可選參數。可選參數。如果format[格式]值設置為adClipString,那么它就是一個行界定符;除此之外,它便是一個carriage return [回車符]
nullexprOptional. If format is set to adClipString it is an expression used instead of a null value. Otherwise it is an empty string
可選參數。可選參數。如果format[格式]值設置為adClipString,那么它就是一個用于替代空值的表達式;除此之外,它便是一個空字符
案例
To create an HTML table with data from a recordset, we only need to use three of the parameters above:
我們只要通過上述三個參數中的一個就可以創建HTML格式的記錄集數據表:

coldel - the HTML to use as a column-separator 
coldel  主站蜘蛛池模板: 视频| 大田县| 布拖县| 永定县| 仁化县| 河东区| 商南县| 吉木乃县| 贡嘎县| 庆城县| 博乐市| 尚义县| 紫云| 通辽市| 邯郸县| 合山市| 通渭县| 吴忠市| 岳阳市| 定安县| 清河县| 营山县| 宁安市| 改则县| 巨鹿县| 神池县| 广德县| 遂平县| 怀化市| 古丈县| 六安市| 溧阳市| 女性| 团风县| 武城县| 亳州市| 隆安县| 天峻县| 石楼县| 鄂伦春自治旗| 凯里市|