OdbcDataReader.getString(field as String) ?

  • Thread starter Thread starter myname
  • Start date Start date
M

myname

Hello,

I'm using VB.Net 2003.

OdbcDataRead.getString(i as integer) allows me to retrieve fields by index.

Is there any way to get fields by field name ?

Thanks !
 
Hi,

dim s as string =OdbcDataRead.Item("ColumnName").ToString

Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top