score:1

query = "new(Convert.ToString((int?)columnName))";

score:0

Try to use

query = "new(Convert.ToString(Int32(columnName)))"

or

query = "new((Int32(columnName)).ToString())"

Related Articles