The connection with the SQL database could be established using UIPath. In the SQL database, I have created a table in which the id is int. I’m unable to retrieve data in its actual form as the writeLine and message box activities expect string values. Is there any other way to display the values?
DataRow doesn’t have an overload for .ToString(), hence you’re getting the Type instead.
You need to either access individual column values in a row, or use ItemArray.
One example: Inside write line: String.Join(", ", row.ItemArray)"
The above solution retrieves a whole row of items. Could any of you please direct me as to how I can retrieve a single value from the database? @andrzej.kniola@acaciomelo