当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > connection

APPML
AppML 简介
AppML 案例
AppML 案例说明
AppML 网络服务
案例研究简介
案例研究:数据库
案例研究:AppML
案例研究:HTML 报告
案例研究:HTML 表单
案例研究:目录
案例研究:产品
案例研究:托运人
案例研究:供应商
案例研究:客户
案例研究:雇员
案例研究:应用程序
案例研究:下载
AppML FAQ
AppML 文档
AppML 数据库元素

APPML 中的 connection


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 338 ::
收藏到网摘: n/a

The <connection> element contains a named database connection.
<connection>元素嵌套了一个指定的数据库连接.

Note: No connection string is defined in the AppML description. The connection string (with username and password) is defined once in the AppML Web Service (and will not be visible for the users).
注意:在AppML描述中并没有定义连接字符串。连接字符串(包含用户名和密码)是一次性定义在AppML网络服务中的(用户不能够看到它)。

Example
案例

<?xml version="1.0" ?>
<appml>
<database>
<connection>northwind</connection> <sql>SELECT CompanyName,ContactName,City FROM Customers</sql> </database>
....
....
</appml>


评论 (0) All

登陆 | 还没注册?