Converting VB.NET to C#.NET
- From: zacks@xxxxxxxxxxxxxxxxxxxxxxxx
- Date: 26 Apr 2007 13:18:47 -0700
I am converting a VB.NET application to C#.NET and I have ran into a
situation that I cannot so far find an answer to. Retrieving data with
an ODBCDataReader, I could issue a rdr.Read method call and then
refernce the columns with the rdr("columnname") function. Seems that
C# does not allow access to the resultset row data using the column
name. rdr.GetString(0) seems to work. Is this a limitation in C#?
.
- Follow-Ups:
- Re: Converting VB.NET to C#.NET
- From: Marc Gravell
- Re: Converting VB.NET to C#.NET
- From: sloan
- Re: Converting VB.NET to C#.NET
- From: Alberto Poblacion
- Re: Converting VB.NET to C#.NET
- Prev by Date: Re: Why doesn't C# allow incremental compilation like Java?
- Next by Date: Re: Why doesn't C# allow incremental compilation like Java?
- Previous by thread: Any ACL experts?
- Next by thread: Re: Converting VB.NET to C#.NET
- Index(es):