Horje
convert from data adapter to Ienumerable C# Code Example
convert from data adapter to Ienumerable C#
But if you do want to use a data table first, you could use LINQ:

var list = dt.AsEnumerable().Select(r => new Person() { 
    Name = (string) r["Name"], 
    Age = (int) r["Age"] }
).ToList()




Csharp

Related
C# foreach loop async but wait at end Code Example C# foreach loop async but wait at end Code Example
unity how to check serialized enum Code Example unity how to check serialized enum Code Example
modal barrier in flutter Code Example modal barrier in flutter Code Example
unity how to check index of enum Code Example unity how to check index of enum Code Example
disable version header c# Code Example disable version header c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11