S
stainless
I have built a dynamic web datagrid with column names assigned
dynamically. For example, I have a column called "BaseValue" and a
column called "BaseValueHidden".
I am saving the names of these columns when the datagrid is built e.g.
strColumnA = "BaseValue" and strColumnB = "BaseValueHidden".
At a later point in the code, I have identified a specific row in the
datagrid (via an integer index) and want to compare the values in the
column identified by strColumnA and that identified by strColumnB.
How do I reference the values in these columns given that my Datagrid
item (i.e. row) is dataGrid.Items[3] ?
I have been unable to get a syntax that allows me to reference the
values in the cells.
dynamically. For example, I have a column called "BaseValue" and a
column called "BaseValueHidden".
I am saving the names of these columns when the datagrid is built e.g.
strColumnA = "BaseValue" and strColumnB = "BaseValueHidden".
At a later point in the code, I have identified a specific row in the
datagrid (via an integer index) and want to compare the values in the
column identified by strColumnA and that identified by strColumnB.
How do I reference the values in these columns given that my Datagrid
item (i.e. row) is dataGrid.Items[3] ?
I have been unable to get a syntax that allows me to reference the
values in the cells.