RowDataBound function of GridView

后端 未结 2 1278
别跟我提以往
别跟我提以往 2020-12-12 01:15

I have a DataTable that contains 3 fields: ACount, BCount and DCount. If ACount < 0 then I need to displa

2条回答
  •  春和景丽
    2020-12-12 01:43

    The GridView OnRowDataBound event is your friend:

    
    
      
        
        
        
        
          
            
            
            
          
        
      
    
    
    // Put this in your code behind or 
    
                                     
                  
提交回复
热议问题