One value display two columns in data grid
        Posted  
        
            by Nair
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nair
        
        
        
        Published on 2010-05-24T20:00:22Z
        Indexed on 
            2010/05/25
            7:51 UTC
        
        
        Read the original article
        Hit count: 245
        
Silverlight
I have a XML with 3 values, they are 'name', 'department', 'value'. I want to display a data grid with four columns like Name, department, credit and debit. When I have a value positive in 'value' column I want to enter the value in debit column and 0 in credit column and vice versa.
© Stack Overflow or respective owner