Default text for empty Repeater control

前端 未结 8 980
醉梦人生
醉梦人生 2021-02-02 05:43

Using VS 2008, I have a Repeater control:



        
8条回答
  •  鱼传尺愫
    2021-02-02 06:28

    Using the visible properties and asp literals provided in previous answers, I extended erionpc's answer to either display a 'no data' or record count.

    
                    
                        
                            No Data Found    
                        
                    
                    
                        
                            
                    
                    
                    
                            
                        
                    
                    
                
    

    I don't write a lot of asp, so there maybe a cleaner way to do this.

提交回复
热议问题