阿牛 - 专注.NET开发

如果梦想与实现之间有一道不可逾越的鸿沟,那么“执行力”就是跨越这道鸿沟的桥梁。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
<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>   
posted on 2008-04-22 11:54  阿牛-专注金融行业开发  阅读(314)  评论(0编辑  收藏  举报