Copy data from SQL Server To dynamic array using C# in Visual Studio 2020

Hai Le 1 Reputation point
2020-09-13T01:56:29.12+00:00

Hi All,

I need to copy the data from a table in SQL Server using C# (Windows Application Form, Visual Studio 2020 ) to an array. Please help me how to perform a task.

For example, I have table with these fields ID, COORDINATOR, and NAME. I need copy all COORDINATOR filed into 2D-array. The COORDINATOR field is int.

Thanks

Hai

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
23,926 questions
No comments
{count} votes