Re: How to get a datetime for Dataview
- From: "Marina" <someone@xxxxxxxxxx>
- Date: Wed, 27 Jul 2005 09:29:42 -0400
In addition to spelling 'DateTime' correctly in the declaration, you didn't
specify which row in the dataview you want. You have to index into it by
row, then by column. Otherwise if you have 10 rows, which 'Birth' value do
you expect to get?
"ad" <ad@xxxxxxxxxxxxxxx> wrote in message
news:uQCOX4qkFHA.3692@xxxxxxxxxxxxxxxxxxxxxxx
>I have a DataView, say myDV, it contain a DataTime field, "Birth".
> I want to get the Birth Value from the DataView:
>
> DateTiem dBirth= (DateTime)myDV["Birth"];
>
> But the complier throw an error.
>
> How can I get datetime for Dataview?
>
>
.
- References:
- How to get a datetime for Dataview
- From: ad
- How to get a datetime for Dataview
- Prev by Date: Apply Embedded XSD schema to specific element in an XmlDocument
- Next by Date: xml to sql thru an object
- Previous by thread: Re: How to get a datetime for Dataview
- Next by thread: Generics: static member invocation
- Index(es):
Relevant Pages
|
Loading