走进.NET

吸收.NET的力量

导航

2006年9月15日 #

留言板制作(四)

摘要: 一,页面设计 此页面的控件有3个Label,3个Button,2个TextBox 。其风格可以自己设计 (如下图:) 二,代码编写1,提交Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text <&g... 阅读全文

posted @ 2006-09-15 13:34 JiTaXiaoZi 阅读(2610) 评论(7) 推荐(0) 编辑

留言板制作(三)

摘要: 一,页面设计 此页面的控件有:3个Label,其中有个Label是用来显示留言的,它的Text属性加入了HTML代码2个Button,2个Datagrid 。其风格可以自己设计 (如下图:) 二,代码编写 1,页面加载Dim aa As String = ConfigurationSettings.AppSettings("Mycon") Dim conn As SqlConnection = N... 阅读全文

posted @ 2006-09-15 13:13 JiTaXiaoZi 阅读(2877) 评论(5) 推荐(0) 编辑

留言板制作(二)

摘要: 一,页面设计 此页面的控件有:3个Button,3个TextBox,4个Label。其风格可以自己设计(如下图:)二,代码设计 1,提交流言 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text <... 阅读全文

posted @ 2006-09-15 11:07 JiTaXiaoZi 阅读(3828) 评论(6) 推荐(0) 编辑