Conditional DataBind
Posted: Fri Jul 28, 2006 7:52 am
How can I bind a field with conditionaly ?
For example:
if(Foo.InvoiceAddress == "1")
{
//I need to print on the document the field Foo.Address1
}
else
{
//I need to print on the document the field Foo.Address2
}
Thk
For example:
if(Foo.InvoiceAddress == "1")
{
//I need to print on the document the field Foo.Address1
}
else
{
//I need to print on the document the field Foo.Address2
}
Thk