How can I convert this part of the line:
Me.dgvmyData.Co lumns.Item("txt CellName") ' "txtCellNam e"
which is within this line -
Me.dgvmyData.So rt(Me.dgvmyData .Columns.Item(" txtCellName"),
System.Componen tModel.ListSort Direction.Ascen ding)
To read something like:
Me.dgvmyData.Co lumns.Item( nonQuotedVariab le )
So I do not have to use a "String" variable to specify the column name.
I made an error in on one of my datagrids and Im sure there is a way to
specify the column name without using a string character that could result
in errors ( like I created ).
Thanks
Miro
Me.dgvmyData.Co lumns.Item("txt CellName") ' "txtCellNam e"
which is within this line -
Me.dgvmyData.So rt(Me.dgvmyData .Columns.Item(" txtCellName"),
System.Componen tModel.ListSort Direction.Ascen ding)
To read something like:
Me.dgvmyData.Co lumns.Item( nonQuotedVariab le )
So I do not have to use a "String" variable to specify the column name.
I made an error in on one of my datagrids and Im sure there is a way to
specify the column name without using a string character that could result
in errors ( like I created ).
Thanks
Miro
Comment