|
|

 Rank: Guest Groups: Guest
Joined: 9/17/2007 Posts: 11,670 Points: -1,200
|
Date parsed: 07/10/2007 04:17:46 Date: Sun, 07 Oct 2007 11:17:46 -0700
On Oct 7, 7:42 pm, "Bjorn Sagbakken" <bjo-...@online.no> wrote: > What is the best way to read single field values from a dataset? The dataset > is populated with a customer record, showing well in a gridview. But I also > want to read the single field values, like adress, phone, and so on. > > Bjorn
for example, myDataSet.Tables[0].Rows[0][0]
it gives you a value of the first colum in the first row
|
|

 Rank: Guest Groups: Guest
Joined: 9/17/2007 Posts: 11,670 Points: -1,200
|
Date parsed: 07/10/2007 21:42:14 Date: Sun, 7 Oct 2007 19:42:14 +0200
What is the best way to read single field values from a dataset? The dataset is populated with a customer record, showing well in a gridview. But I also want to read the single field values, like adress, phone, and so on.
Bjorn
|
|

 Rank: Guest Groups: Guest
Joined: 9/17/2007 Posts: 11,670 Points: -1,200
|
Date parsed: 07/10/2007 22:30:45 Date: Sun, 7 Oct 2007 20:30:45 +0200
"Alexey Smirnov" <alexey.smirnov@gmail.com> wrote in message news:1191781066.196126.97750@o80g2000hse.googlegroups.com... > On Oct 7, 7:42 pm, "Bjorn Sagbakken" <bjo-...@online.no> wrote: >> What is the best way to read single field values from a dataset? The >> dataset >> is populated with a customer record, showing well in a gridview. But I >> also >> want to read the single field values, like adress, phone, and so on. >> >> Bjorn > > for example, myDataSet.Tables[0].Rows[0][0] > > it gives you a value of the first colum in the first row
Thanks a lot. That was exactly what I was looking for.
Bjørn
|
|
|
Guest |