DataRepeater displays different columns in each entry
I have a repeater . It gets its data from some table . This table has say 3 columns .

What I want is if column1 = true column2 will be displayed and if column1 = false
column 3 will be displayed . 

The layout will be something like this:

c1 = true | c2

c1 = true | c2

c1 = false | c3

c1 = true | c2

c1 = false | c3

How can I achieve that ?
DataRepeater displays different columns in each entry
===

I have a repeater . It gets its data from some table . This table has say 3 columns .

What I want is if column1 = true column2 will be displayed and if column1 = false
column 3 will be displayed . 

The layout will be something like this:

c1 = true | c2

c1 = true | c2

c1 = false | c3

c1 = true | c2

c1 = false | c3

How can I achieve that ?