H
Hyrum Mortensen
Hi,
I want to use a column index instead of name to get the value of a
field:
Instead of:
DataBinder.Eval(Container.DataItem, "config")
I want to do something like:
DataBinder.Eval(Container.DataItem,
Container.DataItem.Table.Columns(1).ColumnName)
The above index method was suggested by a previous post, but I get a
compilation error:
CS0117: 'object' does not contain a definition for 'Table'
Any ideas?
Thanks
I want to use a column index instead of name to get the value of a
field:
Instead of:
DataBinder.Eval(Container.DataItem, "config")
I want to do something like:
DataBinder.Eval(Container.DataItem,
Container.DataItem.Table.Columns(1).ColumnName)
The above index method was suggested by a previous post, but I get a
compilation error:
CS0117: 'object' does not contain a definition for 'Table'
Any ideas?
Thanks