您目前尚未登陆,请选择【登陆】或【注册
首页->投票调查->Asp.net投票系统[单/复选,投票数量/项随意]源码>>WebForm2.aspx.cs>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:Asp.net投票系统[单/复选,投票数量/项随意]源码


当前文件路径:ComplexVote/WebForm2.aspx.cs 文件类型
普通视图
		            
1using System; 2using System.Collections; 3using System.ComponentModel; 4using System.Data; 5using System.Drawing; 6using System.Web; 7using System.Web.SessionState; 8using System.Web.UI; 9using System.Web.UI.WebControls; 10using System.Web.UI.HtmlControls; 11 12namespace vote 13{ 14 /// <summary> 15 /// WebForm2 的摘要说明。 16 /// </summary> 17 public partial class WebForm2 : System.Web.UI.Page 18 { 19 20 protected void Page_Load(object sender, System.EventArgs e) 21 { 22 // 在此处放置用户代码以初始化页面 23 } 24 25 Web 窗体设计器生成的代码 44 45 protected void Button1_Click(object sender, System.EventArgs e) 46 { 47 string[] a=new string[3]; 48 a[0]="hahah"; 49 a[1]="xixi"; 50 a[2]="heihei"; 51 Application.Add("a",a); 52 } 53 54 protected void Button2_Click(object sender, System.EventArgs e) 55 { 56 string[] b=(string[])Application["a"]; 57 for(int i=0;i<b.Length;i++) 58 { 59 this.ListBox1.Items.Add(b[i]); 60 } 61 } 62 63 protected void Button3_Click(object sender, System.EventArgs e) 64 { 65 this.Label1.Text="<h1>标题</h1>"; 66 } 67 68 protected void Button4_Click(object sender, System.EventArgs e) 69 { 70 this.Label1.Text=Server.HtmlEncode("<h1>标题</h1>"); 71 } 72 73 } 74} 75
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:Asp.net投票系统[单/复选,投票数量/项随意]源码

- Asp.net2.0任务分配系统源码

- 51aspx省市区县(含全国完整数..

- 网上书店系统(北大青鸟内部)源码

- 锋.NET简洁留言板

- TreeView+XML实现的菜单

- webzcn虚拟主机网站最初源码

- 君哥Asp.net2.0网上书店演示源码

- Badgirl blog V1.0源码

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号