Question SOLVED: Create a list or array in c# to save a distinct data column from data base and save data to list or array.

$30.00

Category:

Description

Question SOLVED: Create a list or array in c# to save a distinct data column from data base and save data to list or array.

Hi everyone, I need a help in C# and SQL server.

i want to create a list or array in c# to save a distinct data column from data base and save data to list or array.

this is my sql qurey which is work fine

select distinct BatchId from _ImportAPCWageIndex

but i need a help to save these data from sql server in to the list or array.

is anybody can help, me please?

best regards


error: Content is protected !!