namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
var dt = new DataTable();
dt.Columns.Add("Id");
dt.Columns.Add("Name");
var dr = dt.NewRow();
dr["Id"] = 1;
dr["Name"] = "Tom";
dt.Rows.Add(dr);
var obDr = dr.GetType();
Type[] myTypeArr = new Type[1];
myTypeArr.SetValue(typeof(int), 0);
var items=obDr.GetProperty("Item", myTypeArr);
var obj= items.GetValue(dr, new object[] {1 });
Console.WriteLine(obj);
}
}
}