V
VB Programmer
Is it possible to get the value of a field (in a datareader) based on the
column NAME, rather than position? Right now I'm accessing it like this:
drMyDataReader.GetValue(16).ToString
It's a real pain, especially if I have to add a field or two. I have to
then RENUMBER all my existing code.
Please help. Thanks!
column NAME, rather than position? Right now I'm accessing it like this:
drMyDataReader.GetValue(16).ToString
It's a real pain, especially if I have to add a field or two. I have to
then RENUMBER all my existing code.
Please help. Thanks!