创建没有任何数据库的在线投票 [英] create online poll without any data base

查看:78
本文介绍了创建没有任何数据库的在线投票的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Xml文件创建了一个民意调查,但问题是代码在我运行程序时工作正常但如果我在FTP上传,则显示错误。是否有任何代码在线更新Xml值

解决方案

可能不是直截了当的。但您可以分两步尝试。这只是一种可能的解决方案。其他边界可能会发布更好的边界。您不建议使用替代选项来使用txt文件。您可以想到csv文件。



1.将XML导入数据表。

2.使用数据表生成图形。



这几个链接供参考。



http://msdn.microsoft。 com / en-us / library / fx29c3yd.aspx [ ^ ]

http://stackoverflow.com/questions/12553435/how-to-draw-chart-based-on-datatable-from-console-application [ ^ ]

http://stackoverflow.com/questions/12838720/aspchart-from- datatable-with-many-series [ ^ ]

i have created a poll using Xml file but the problem is the code working properly while i run the program but if i upload in FTP, it is showing error.Is there any code to update Xml value online

解决方案

May not be straight forward. But you can try this in two steps. This is just a possible solution. Might be other borders might post a better one. Your alternative option to use txt file is not advisable. You can think of csv file.

1. Import XML into data table.
2. Use the data table to generate graph.

This are few links for reference.

http://msdn.microsoft.com/en-us/library/fx29c3yd.aspx[^]
http://stackoverflow.com/questions/12553435/how-to-draw-chart-based-on-datatable-from-console-application[^]
http://stackoverflow.com/questions/12838720/aspchart-from-datatable-with-many-series[^]


这篇关于创建没有任何数据库的在线投票的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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