Visible Bindable Property - Eval code help

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

In my gridview, I have a template column whose 'visible property' I
wish to bind to a database field called "TransactionType" which is of a
string datatype.

I only want the data in this gridview column to be visible when the
"TransactionType" field = "Income"

i.e. I want to do something like this for the visible property:

IF Eval("TransactionType") = "Income"

But I don't know the syntax.

Can anyone help? Thank you.
 
Back
Top