zoukankan
html css js c++ java
在GridView验证时,提示行号
<
pbcrm:PBCRMGridView
ID
="gvCustomer"
runat
="server"
AllowPaging
="false"
AllowSorting
="false"
EnableViewState
="false"
DataSourceID
="sqldsClientList"
DataKeyNames
="HolderKey"
AutoGenerateColumns
="False"
Width
="99%"
>
<
Columns
>
<
asp:BoundField
DataField
="CustomerName"
HeaderText
="Client Name"
ReadOnly
="True"
SortExpression
="CustomerName"
/>
<
asp:BoundField
DataField
="Nationality"
HeaderText
="Nationality"
ReadOnly
="True"
SortExpression
="Nationality"
/>
<
asp:BoundField
DataField
="YearofBirth"
HeaderText
="Year of Birth"
ReadOnly
="True"
SortExpression
="YearofBirth"
/>
<
asp:BoundField
DataField
="Age"
HeaderText
="Age"
ReadOnly
="True"
SortExpression
="Age"
/>
<
asp:BoundField
DataField
="IsPI"
HeaderText
="PI Status"
SortExpression
="IsPI"
/>
<
asp:TemplateField
>
<
headertemplate
>
Education Level
</
headertemplate
>
<
itemtemplate
>
<
pbcrm:EducationLevelDDL
ID
="ddlEduLevel"
runat
="server"
SelectedValue
='<%#Eval("EduLevel")
%
>
'/>
<
pbcrm:PBCRMRequiredFieldValidator
ID
="rfvEduLevel"
ControlToValidate
="ddlEduLevel"
ErrorMessage
= '<%#"Education
Level for client " + (
Container.DataItemIndex + 1
).ToString() + " is required"%
>
'
runat="server" Display="None"/>
</
itemtemplate
>
</
asp:TemplateField
>
<
asp:TemplateField
>
<
headertemplate
>
Visually Impaired
</
headertemplate
>
<
itemtemplate
>
<
pbcrm:VisuallyImpairedDDL
ID
="ddlVisualImp"
runat
="server"
SelectedValue
='<%#Eval("VisualImp")
%
>
'/>
<
pbcrm:PBCRMRequiredFieldValidator
ID
="rfvVisualImp"
ControlToValidate
="ddlVisualImp"
ErrorMessage
= '<%#"Visually
Impaired for client " + (Container.DataItemIndex + 1).ToString() + " is required"%
>
'
runat="server" Display="None"/>
</
itemtemplate
>
</
asp:TemplateField
>
</
Columns
>
</
pbcrm:PBCRMGridView
>
查看全文
相关阅读:
BZOJ 2006: [NOI2010]超级钢琴 [ST表+堆 | 主席树]
CF 741D. Arpa’s letter-marked tree and Mehrdad’s Dokhtar-kosh paths [dsu on tree 类似点分治]
CF 716E. Digit Tree [点分治]
CF 291E. Tree-String Problem [dfs kmp trie图优化]
CF 208E. Blood Cousins [dsu on tree 倍增]
CF 246E. Blood Cousins Return [dsu on tree STL]
CF 570D. Tree Requests [dsu on tree]
[dsu on tree]【学习笔记】
测试markdown
BZOJ 1969: [Ahoi2005]LANE 航线规划 [树链剖分 时间倒流]
原文地址:https://www.cnblogs.com/rockniu/p/1165321.html
最新文章
20160720-java高并发
Can not perform this action after onSaveInstanceState
HTTP头域列表与解释 之 request篇
java 中文 乱码 问号
C产品狗
java.util.concurrent
HTTP
CharsetUtils.java
android 通知
从头认识java-15.7 Map(5)-介绍HashMap的工作原理-Key变了,能不能get出原来的value?(偶尔作为面试题)
热门文章
J2EE--Servlet生命周期与原理
Android软件开发之盘点全部Dialog对话框大合集(一)
OVAL学习笔记
Android4.42-Settings源代码分析之蓝牙模块Bluetooth总体实现(总)
iOS 系统消息通知
BNUOJ 34982 Beautiful Garden
WCF学习分享2
Android-优化UI性能(1)-降低主线程的堵塞时间
Android异步载入学习笔记之四:利用缓存优化网络载入图片及ListView载入优化
[中国剩余定理]【学习笔记】
Copyright © 2011-2022 走看看