xml-创建并在Windows窗体中更新 [英] xml-create and update in windows form

查看:67
本文介绍了xml-创建并在Windows窗体中更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要创建和更新xml文件的紧急要求
要求:我在Windows窗体中有textbox1,2,3,例如数据库名称,用户名,密码.

I want an urgent requirement om xml file creation and updation
Requirement:i have textbox1,2,3 in windows form say,database name, username, password.

数据应通过按钮(提交)存储在xml文件中(不允许冗余),并且如果用户键入相同的数据并且当他按下update时,相同的数据必须在同一个xml文件中进行更新.注意:我们没有使用数据库.
data should be stored in xml file(redundancy is not allowed) by button (submit) and if user type same data and when he press update the same data has to be update in the same xml file .Note: we are not using database .



请尽快给我答复

谢谢和问候
G.srikiran
[已删除电子邮件地址]



please send me the reply AS Soon AS Possible

Thanks and regards
G.srikiran
[email address removed]

推荐答案

我们不会为您编写整个应用程序的代码.我们可能会给您一点帮助.
在网络上,您可能会发现许多(很多!)关于使用C#编写XML文件的教程,例如,参见 C#XmlWriter教程 [ ^ ].
We aren''t going to code the whole application for you. we might just give you a little help.
You may find, on the web, many many (many!) tutorials about writing XML files usign C#, see, for instance C# XmlWriter Tutorial[^].


这篇关于xml-创建并在Windows窗体中更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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