How am I going to access each row in a dataset using C#? I used the
following syntax:
DS.Tables[0].Rows[0].Item[0].ToString
to output the first row. The problem is that the compiler tells me that
there is no definition of Item in System.Data.DataRow. I found a similar
working program in VB utilizing the exact syntax above. How come it
doesn't work in C#?
DS.Tables[0].Rows[0]["Column Name"]
_____________________________________________
Kyle Dunn
Chief Information Officer
Funeral Services, Inc.
xxx-xxx-xxxx x 309
Kyle@F...
-----Original Message-----
From: Antine de Constancio [mailto:bira_dayok@y...]
Sent: Thursday, January 17, 2002 6:12 AM
To: ADO.NET
Subject: [ado_dotnet] displaying the row in a dataset
How am I going to access each row in a dataset using C#? I used the
following syntax:
DS.Tables[0].Rows[0].Item[0].ToString
to output the first row. The problem is that the compiler tells me that
there is no definition of Item in System.Data.DataRow. I found a similar
working program in VB utilizing the exact syntax above. How come it
doesn't work in C#?
$subst('Email.Unsub').