Hi all,
basically i want to check if a certain defined gridview has a column with a particular name.
I have the column name as a string value somewhere.
I wanted to do something like this:
if (myGridView.Columns.Contains(myColumnName))
however, the Contains method expects a datacolumnField object.
Is there another way of doing this?
thanks!
basically i want to check if a certain defined gridview has a column with a particular name.
I have the column name as a string value somewhere.
I wanted to do something like this:
if (myGridView.Columns.Contains(myColumnName))
however, the Contains method expects a datacolumnField object.
Is there another way of doing this?
thanks!