C# how do I read an mdb(MS Access) file then pass in the retrieved columns selected in an array for later use? -
how read mdb file pass in retrieved columns selected in array? basically, trying retrieve items match 2 specified criteria columns save last column in array. i have printed results correct per 2 criterias them being qdc , qpl when printing them how save last row later use in array. var list = new list<mydata>(); while (true) { while (reader.read()) { var data = new mydata { columnone = reader.getstring(0), columntwo = reader.getstring(1), columnthree = reader.getstring(2), columnfour = reader.getstring(3), columnfive = reader.getstring(4), }; list.add(data); console.writeline(""); foreach (var row in list) { console.writeline("start here"); console.writeline(row.columnone); console.writeline(row.columntwo); console.writeline(row.columnt...