MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Especificações Página 312

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 692
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 311
Chapter 27312
Note: This example uses the MMDB.getColumnList() function.
function getDynamicBindings(elementNode)
{
var ss = findSSrec(elementNode, LABEL_Type)
var connString = ss.activeconnection
var connName = ss.connectionName
var statement = ss.source
var rsName = ss.rsName
var pa = new Array()
if (String(ss.ParamArray) != "undefined")
{
for (var i = 0; i < ss.ParamArray.length; i++)
{
pa[i] = new Array()
pa[i][0] = ss.ParamArray[i].name
pa[i][1] = ss.ParamArray[i].value
}
}
var statement = ReplaceParamsWithVals(statement, pa)
return MMDB.getColumnList(connName, statement)
}
Database connection functions
Database connection functions let you make and manage any connection, including the
Dreamweaver MX-provided ADO, ColdFusion, and JDBC connections. These functions
interface with the Connection Manager only; they do not access a database. For functions that
access a database, see Database access functions on page 324.
MMDB.deleteConnection()
Availability
Dreamweaver MX
Description
Deletes the named database connection.
Arguments
connName
connName is the name of the database connection as it is specified in the Connection Manager.
This argument identifies, by name, the database connection to delete.
Returns
Nothing.
Vista de página 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 691 692

Comentários a estes Manuais

Sem comentários