Ask coding questions

← Back to all posts
C# - How to use DataTable on System.Data Assembly?
MO5

I have an error when using the System.Data namespace, I'm trying to read a CSV file into a DataTable object.

main.cs(2,14): error CS0234: The type or namespace name Data' >does not exist in the namespaceSystem'. Are you missing >`System.Data' assembly reference?

Voters
JoshuaCobb
BarSn
ThatKidWhoCodes
suriradhika
JustinGrant
MO5