Adobe Dreamweaver API Reference CS5 User Manual Page 74

  • Download
  • Add to my manuals
  • Print
  • Page
    / 533
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 73
69
DREAMWEAVER API REFERENCE
The database API
Last updated 8/27/2013
Returns
An array of objects, one object for each column. Each object defines the following three properties for the column with
which it is associated.
Example
The following example uses MMDB.getColumns() to set the tooltip text value:
var columnNameObjs = MMDB.getColumns(connName,tableName);
var databaseType = MMDB.getDatabaseType(connName);
for (i = 0; i < columnNameObjs.length; i++)
{
var columnObj = columnNameObjs[i];
var columnName = columnObj.name;
var typename = columnObj.datatype;
if (dwscripts.isNumber(typename))
{
// it already is a num
typename = dwscripts.getDBColumnTypeAsString(typename, databaseType);
}
var tooltiptext = typename;
}
MMDB.getColumnsOfTable()
Availability
Dreamweaver UltraDev 1.
Description
This function gets a list of all the columns in the specified table.
Arguments
connName, tableName
The connName argument is a connection name that is specified in the Connection Manager. It identifies the
connection string that Dreamweaver should use to make a database connection to a live data source.
The tableName argument is the name of a table in the database that is specified by the connName argument.
Returns
An array of strings where each string is the name of a column in the table.
Example
The statement MMDB.getColumnsOfTable ("EmpDB","Employees"); returns the following strings:
Property Name Description
name Name of the column (for example, price)
datatype Data type of the column (for example, small money)
definedsize Defined size of the column (for example, 8)
nullable Indicates whether the column can contain null values
Page view 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 532 533

Comments to this Manuals

No comments

Philips 37PFL9732D - annexe 1 manuály

Uživatelské manuály a uživatelské příručky pro DVD přehrávače Philips 37PFL9732D - annexe 1.
Poskytujeme manuály pdf Philips 37PFL9732D - annexe 1 ke stažení zdarma podle typů dokumentů:






Další produkty a příručky pro DVD přehrávače Philips

Modely Typ Dokumentu
MX5800SA/21 Uživatelský manuál   Philips MX5800SA/21 User's Manual, 49 stránky
PET941D/98 Uživatelský manuál   Philips PET941D/98 User's Manual, 2 stránky
DVD616K Uživatelský manuál   Philips DVD616K User's Manual, 26 stránky
PET721D/98 Uživatelský manuál   Philips PET721D/98 User's Manual, 2 stránky
DVP3258X/94 Uživatelský manuál   Philips DVP3268/94 User manual, 52 stránky
PET741V/37 Uživatelský manuál    Philips PET741R/37 User manual, 19 stránky
HTS6515D/37 Uživatelský manuál   Philips HTS6515D/37 User manual, 52 stránky
HTS3500K Uživatelský manuál   Philips HTS3500K User's Manual, 49 stránky
DVP 5986K Uživatelský manuál   Philips DVP5986K/96 User manual, 2 stránky
DVP3120/12 Uživatelský manuál   Philips DVP3120/12 User manual, 39 stránky
DVP2320BL Uživatelský manuál   Philips DVP2320BL User's Manual, 20 stránky
PET721D/79 Uživatelský manuál   Philips PET721D/79 User manual, 21 stránky
HTS3300/55 Uživatelský manuál    Philips HTS3300/55 Manual de usuario, 4 stránky
FWD790/21M Uživatelský manuál   Philips FWD790/21M User manual, 2 stránky
DVD 765K Uživatelský manuál   Philips DVD 765K User's Manual, 26 stránky
DVD 620/001 Uživatelský manuál   Philips DVD 620/001 User's Manual, 24 stránky
DVP5960/37 Uživatelský manuál   Philips DVP5960/37 User manual, 2 stránky
DVP5140 Uživatelský manuál   Philips DVP5140 User's Manual, 47 stránky
DVD763SA/021 Uživatelský manuál   Philips DVD763SA/021 User's Manual, 64 stránky
DVP5992 Uživatelský manuál   Philips DVP5992 User's Manual, 2 stránky