摘要: Repeater 用法:1.绑定数据源: Repeater1.DataSource = context.Info; Repeater1.DataBind(); 2.造模板: 头模板:HeaderTemplate:只出现一次,一般是标题行 脚模板:FooterTempl... 阅读全文
posted @ 2015-12-16 18:22 软件工程开发 阅读(305) 评论(0) 推荐(0)
摘要: 单选框:RadioButton 属性:GroupName:组名,如果要实现单选效果,每个单选按钮的组名必须一样 看一下该按钮是否选中:RadioButton1.Checked;单选按钮列表:RadioButtonList 属性:RepeatDirection:横向或纵向 绑定数据: RadioB... 阅读全文
posted @ 2015-12-16 18:20 软件工程开发 阅读(880) 评论(0) 推荐(0)
摘要: 下拉列表:DropDownList 1.绑定数据: DropDownList1.DataSource = context.Nation; DropDownList1.DataValueField = "Code"; DropDownList1.DataTextField... 阅读全文
posted @ 2015-12-16 18:19 软件工程开发 阅读(2057) 评论(0) 推荐(0)
摘要: 1.TextBox:用户输入文本框 单行文本框 多行文本框 密码框2.显示文字:lable会生成Span标签 literall将文字原封不动的打到页面3.按钮:Button普通按钮 ImageButton图片按钮 LinkButton超链接按钮4.Image:图片工具 HyperLink:超链接... 阅读全文
posted @ 2015-12-16 18:17 软件工程开发 阅读(1264) 评论(0) 推荐(0)