tektipster79
Programmer
I'm using a datareader to iterate through recordsets, and I'm doing a lot of this:
Employee.FirstName = dataReader["FirstName"]...
This "feels" wrong because there are a lot of hard-coded column names, but I don't see a way around it that doesn't seem a whole lot more work than it's worth.
Thanks!
Employee.FirstName = dataReader["FirstName"]...
This "feels" wrong because there are a lot of hard-coded column names, but I don't see a way around it that doesn't seem a whole lot more work than it's worth.
Thanks!