i want to convert a data row value to a string but i get an error
saying System.Data.DataRow cannot be converted to a string, how can i do this without getting an error can i use a CType to convert it
i want to convert a data row value to a string but i get an error
saying System.Data.DataRow cannot be converted to a string, how can i do this without getting an error can i use a CType to convert it
Converting to a string...
golfkeelo
Note that you cannot do row.ToString(), since that will just print out "System.Data.DataRow".
Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights
Paul Ayre
You can convert anything to string by calling ToString() on it. However, that won't do you any good in case of System.Data.DataRow, all you would get is a type name. If you're trying to get a string with values of all columns in this row, please use simple loop to print them out.
stanb
CanopenR
Alan.328
WolfTechnologies