Visible Bindable Property - Eval code help

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top