网络在线投票模块设计报告.docVIP

  • 1
  • 0
  • 约2.56千字
  • 约 6页
  • 2018-03-02 发布于河南
  • 举报
网络在线投票模块设计报告

设计报告 题目: 网络在线投票模块 班级: 姓名: 学号: 日期: 3月23日 目的: 掌握了A的文件读写与Cookie对象的应用。 内容: 1、新建一个ASP.net网站,并添加Web窗体应用母版页。 2、在新建的窗体中添加控件。 3、新建一个txt用来存储票数。 4、编写读取文件的代码。 protected void getVote() { string fi = Server.MapPath(vote.txt); StreamReader sr = File.OpenText(fi); while(sr.Peek() != -1) { string str = sr.ReadLine(); string[] strVote = str.Split(|); foreach (string

文档评论(0)

1亿VIP精品文档

相关文档