How do I use DataTable.DisplayExpression?

  • Thread starter Thread starter Darwin Fisk
  • Start date Start date
D

Darwin Fisk

I've tried assigning a string, and many variations on what might be
expressions, to no good luck. Doe anyone know how I assign a value to this
property, and what it considers a valid value?

I've tried:

myTable.DisplayExpression = "Show This Name";
myTable.DisplayExpression = "'Show This Name'";
myTable.DisplayExpression = "='Show This Name'";
myTable.DisplayExpression = "[Show This Name]";
myTable.DisplayExpression = "Show+This+Name";
myTable.DisplayExpression = "return 'Show This Name'";
myTable.DisplayExpression = "DisplayExpression = 'Show This Name'";

I have no clue...

Any help would be appreciated.

Thanks,
Darwin Fisk
 
Back
Top