zoukankan
html css js c++ java
[收藏]HTML中的XML数据岛记录编辑与添加
<
HTML
>
<
HEAD
><
Title
>
HTML中的数据岛中的记录集
</
Title
></
HEAD
>
<
body
bkcolor
=#EEEEEE
text
=blue
bgcolor
="#00FFFF"
>
<
Table
align
=center
width
="100%"
><
TR
><
TD
align
="center"
>
<
h5
><
b
><
font
size
="4"
color
="#FF0000"
>
HTML中的XML数据岛记录编辑与添加
</
font
></
b
></
h5
>
</
TD
></
TR
></
Table
>
<
HR
>
酒店名称:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=NAME
size
="76"
><
BR
>
地址:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=Address
size
="76"
><
BR
>
主页:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=HomePage
size
="76"
><
BR
>
电子邮件:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=E-Mail
size
="76"
><
BR
>
电话:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=TelePhone
size
="76"
><
BR
>
级别:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=Grade
size
="76"
><
HR
>
<
input
id
="first"
TYPE
=button
value
="<< 第一条记录"
onclick
="theXMLisland.recordset.moveFirst()"
>
<
input
id
="prev"
TYPE
=button
value
="<上一条记录"
onclick
="theXMLisland.recordset.movePrevious()"
>
<
input
id
="next"
TYPE
=button
value
="下一条记录>"
onclick
="theXMLisland.recordset.moveNext()"
>
<
input
id
="last"
TYPE
=button
value
="最后一条记录>>"
onclick
="theXMLisland.recordset.moveLast()"
>
<
input
id
="Add"
TYPE
=button
value
="添加新记录"
onclick
="theXMLisland.recordset.addNew()"
>
<
XML
ID
="theXMLisland"
>
<
HotelList
>
<
Hotel
>
<
Name
>
四海大酒店
</
Name
>
<
Address
>
海魂路1号
</
Address
>
<
HomePage
>
www.sihaohotel.com.cn
</
HomePage
>
<
E-Mail
>
master@sihaohotel.com.cn
</
E-Mail
>
<
TelePhone
>
(0989)8888888
</
TelePhone
>
<
Grade
>
五星级
</
Grade
>
</
Hotel
>
<
Hotel
>
<
Name
>
五湖宾馆
</
Name
>
<
Address
>
东平路99号
</
Address
>
<
HomePage
>
www.wuhu.com.cn
</
HomePage
>
<
E-Mail
>
web@wuhu.com.cn
</
E-Mail
>
<
TelePhone
>
(0979)1111666
</
TelePhone
>
<
Grade
>
四星级
</
Grade
>
</
Hotel
>
<
Hotel
>
<
Name
>
“大沙漠”宾馆
</
Name
>
<
Address
>
留香路168号
</
Address
>
<
HomePage
>
www.dashamohotel.com.cn
</
HomePage
>
<
E-Mail
>
master@dashamohotel.com.cn
</
E-Mail
>
<
TelePhone
>
(0989)87878788
</
TelePhone
>
<
Grade
>
五星级
</
Grade
>
</
Hotel
>
<
Hotel
>
<
Name
>
“画眉鸟”大酒店
</
Name
>
<
Address
>
血海飘香路2号
</
Address
>
<
HomePage
>
www.throstlehotel.com.cn
</
HomePage
>
<
E-Mail
>
chuliuxiang@throstlehotel.com.cn
</
E-Mail
>
<
TelePhone
>
(099)9886666
</
TelePhone
>
<
Grade
>
五星级
</
Grade
>
</
Hotel
>
</
HotelList
>
</
XML
>
</
body
>
</
HTML
>
查看全文
相关阅读:
Ecshop商品批量上传,内容编码错误 您尝试查看的页面无法显示
php 数组转化成字符串,并原样还原回数组
PHP函数 curl_setopt
<javascript学习笔记> javascript 获得url里参数。
<yii 框架学习> <转> 关于yii数据库添加新字段之后model类的修改
<yii 框架学习> 清空数据表
<javascript学习笔记>javascript 实现隔行变色
<javascript学习笔记> javascript 检查输入内容的长度。
<php 代码积累 数组相关>
<yii 框架学习> yii 框架改为中文提示
原文地址:https://www.cnblogs.com/goody9807/p/237716.html
最新文章
从“道不同,可还要相为谋”说起
请教一个使用MVVM进行系统分层的问题
[WPF Bug清单]之(4)——点击RadioButton的空白没有反应
在VS2008环境下使用Scons编译NSIS
Visual Studio Unit Test VS NUnit
[WPF Bug清单]之(5)——隐藏模态对话框后变成非模态
[安装包制作]NSIS项目的基本结构
[WPF]如何在关闭非模态子窗体时用消息框确认——解决最小化窗体时抛出的异常
为了吃得健康点儿,给大家提个醒
安装过程中检测数据库是否已经存在
热门文章
在园子里吵架属正常
[WPF]如何正确地用代码设置ListBox的当前选中项
WPF为我们带来了什么?
用Bat清理项目中的特定目录
上海一年,总感觉少点儿什么
[WPF Bug清单]之(6)——Button的IsCancel属性失效
[WPF Bug清单]之(8)——RowDefinition中MaxHeight在一定条件下失效
【C语言】用C语言实现中国象棋
【C语言】用c语言实现简单的五子棋
【C语言】游戏菜单界面设计 与 游戏整合
Copyright © 2011-2022 走看看