Try this,
You can Declare your own class with your own properties and load it's values from your Datatable like this,
public class MyEnt
{
public string Name {get; set;}
public string Type {get; set;}
public LoadMyEnt(object [] array)
{
this.Name = array[0].ToString();
this.Type = array[1].ToString();
}
}
For datatable, you could do
List<MyEnt> list = new List<MyEnt>();
foreach(DataRow dr in table.Rows)
{
MyEnt obj = new MyEnt();
obj.Load(dr.ItemArray);
list.Add(obj);
}
I hope this will help you.