DataRow is an object; it is not an integer. A DataRow contains one or more columns of data. You can index in a DataRow to access the values โโof these coulmns.
If the tbl_klanten table contains one column, and this column is an integer, you can do the following:
var myInt = (int)eersteRij[0];
if the column is a row containing the value of an integer,
var myInt = int.Parse(eersteRij[0]);
If the column has the name klant_id ...
var myInt = (int)eersteRij["klant_id"];
if the column is a row containing the value of an integer,
var myInt = int.Parse(eersteRij["klant_id"]);
source share