Reputation: 11
I am migrating an application from VB6 to C#, which are used Recordset. My question is: which object is the "equivalent" to VB6 recordset in C# or at least the one to use?
Upvotes: 0
Views: 253
Reputation: 33815
I'd say that the closest thing you'd find would be a DataTable which is part of a DataSet.
Of course, with the variety of fantastic ORMs out there these days (Dapper, Simple, ServiceStack.OrmLite, EF, etc), perhaps you can use this as an opportunity to upgrade your methodology practices at the same time, or even just use a cleaner IDataReader approach.
Upvotes: 3