for (int i = 0; i < dt.Rows.Count; i++) { Items it = new Items(dt.Rows[i]["Name"].ToString(), dt.Rows[i]["Code"].ToString()); it.insert(); }
new Item
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)