Your code seems VB, right?
Anyway, ToString is necessary in WriteLine as the following. Can you try this?
For Each row As Datarow In In_dt.AsEnumerable Console.WriteLine(row("First Name")) Console.WriteLine(In_dt.Rows.IndexOf(row).ToString) Next
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.