.NET FW 4.8 with VS 2017 - Property Item missing in DataRow

Copper Contributor

I am using VS2017 witn .NET 4.8 Framework and try to access items in a DataRow-object. Property ItemArray exists, but Item is missing.

 

DataRow row = _ds_product.Tables[0].Rows[0];
string tb_products_id = row.Item["products_id"].ToString();

 

Error is CS1061

 

Suggestion is to check if some using is missing, but System.Data is present. What else could be missing?

 

Or how to resolve this?

 

 

0 Replies