如何在xml文件中单击按钮时提交表单数据并在网页上显示该数据? [英] how to submit the data of form on button click in xml file and show that data on web page?

查看:88
本文介绍了如何在xml文件中单击按钮时提交表单数据并在网页上显示该数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个包含两个字段的表格,一个是名称,另一个是注释.我希望此表格的数据将在单击按钮时保存在xml文件中,并同时显示在网页上.作为反馈表格.


请给我解决方法.





谢谢.


i have a form that has two fields,one is name and another is comment.i want that data of this form will save in xml file on button click and at the same time it will show on the web page.Its as a feedback form.


Please give me solution.





Thank You.

推荐答案

您可以根据需要将数据在回发时转换为xml.我假设您要显示数据,而不是XML,那么XML是否会同时下载?您停留在哪一点?
You can convert your data to xml on postback, any way you like. I assume you want to show the data, not XML, so will the XML be downloaded at the same time ? Which bit are you stuck on ?


这篇关于如何在xml文件中单击按钮时提交表单数据并在网页上显示该数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆