1
Reply

howto insert a value to a variable name?

tungqt

tungqt

Mar 9 2005 1:32 AM
2.5k
I want insert a value of string to a new variable name. What expression must be used? e.g : string strID = "1"; ColumnHeader col_1 = new ColumnHeader(); but in my situation, i want to replace the chacracter '1' in the ColumnHeader var name col_1 by the value of string strID?

Answers (1)