Anwind
Well-known member
- Joined
- Nov 6, 2021
- Messages
- 48
- Programming Experience
- 1-3
Hello
Can I read a CSV file into System.Data.SqlClient.dll?
An important purpose is to read a CSV file into System.Data.SqlClient.dll ?
No SQL DB required.
I don't even need the ability to write to the SQL DB.
Only,.... Only.... To read a CSV file into System.Data.SqlClient.dll ?
Is it possible?
I Used Visual Studio2019, C#.NET
My Code
Can I read a CSV file into System.Data.SqlClient.dll?
An important purpose is to read a CSV file into System.Data.SqlClient.dll ?
No SQL DB required.
I don't even need the ability to write to the SQL DB.
Only,.... Only.... To read a CSV file into System.Data.SqlClient.dll ?
Is it possible?
I Used Visual Studio2019, C#.NET
My Code
C#:
// Read the CSV File into System.Data.SqlClient.dll
public System.Data.Common.DbDataReader ExecutDataReader(sQuery)
{
Sysrem.Data.SqlClient.Command.ExecuteReader(Default);
}
String.Format("Row Number : {0}", rowNum);
String.Format("CSV File Column1 : {0}", Col1);
int rowNum = 1;
while (reader.Read())
{
rowNum++;
}
Last edited: