PC Review


Reply
Thread Tools Rate Thread

DATA ADAPTER PROBLEM

 
 
=?Utf-8?B?TWFyayBFc2NhbmRvbg==?=
Guest
Posts: n/a
 
      27th Oct 2004
I created a query with an odbcdataadapter to a linked table in a Microsoft
Access Database.
When I view the data, everything appears fine except one field is being
displayed as a date where it should be a time. I double checked the field
definitions in Access and everything looks good.
I changed the schema in the dataset from Datetime to time but it still
doesn't work.

Any help would be appreciated.
I would like to point out I have only recently upgraded to vb.net from
Visual Basic 4.0 so this new data access stuff is really new (and confusing)
to me.
--
Mark Escandon
Production/Systems Manager
Fybon Industries
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      27th Oct 2004
Hi,

How are you displaying the data?

Ken
----------------
"Mark Escandon" <(E-Mail Removed)> wrote in message
news:A6937C2C-0FAE-4E62-B502-(E-Mail Removed)...
I created a query with an odbcdataadapter to a linked table in a Microsoft
Access Database.
When I view the data, everything appears fine except one field is being
displayed as a date where it should be a time. I double checked the field
definitions in Access and everything looks good.
I changed the schema in the dataset from Datetime to time but it still
doesn't work.

Any help would be appreciated.
I would like to point out I have only recently upgraded to vb.net from
Visual Basic 4.0 so this new data access stuff is really new (and confusing)
to me.
--
Mark Escandon
Production/Systems Manager
Fybon Industries


 
Reply With Quote
 
=?Utf-8?B?TWFyayBFc2NhbmRvbg==?=
Guest
Posts: n/a
 
      27th Oct 2004
I am using the datagrid control. But I've also previewed the data in design
mode (via the data adapter property) and it looks the same.

Instead of saying 11:59:34 PM, it says 12/30/1899.

"Ken Tucker [MVP]" wrote:

> Hi,
>
> How are you displaying the data?
>
> Ken
> ----------------
> "Mark Escandon" <(E-Mail Removed)> wrote in message
> news:A6937C2C-0FAE-4E62-B502-(E-Mail Removed)...
> I created a query with an odbcdataadapter to a linked table in a Microsoft
> Access Database.
> When I view the data, everything appears fine except one field is being
> displayed as a date where it should be a time. I double checked the field
> definitions in Access and everything looks good.
> I changed the schema in the dataset from Datetime to time but it still
> doesn't work.
>
> Any help would be appreciated.
> I would like to point out I have only recently upgraded to vb.net from
> Visual Basic 4.0 so this new data access stuff is really new (and confusing)
> to me.
> --
> Mark Escandon
> Production/Systems Manager
> Fybon Industries
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with data adapter and data set while inserting and retrieving data aniket_sp Microsoft VB .NET 5 4th Jan 2006 07:10 AM
Configure Data Adapter problem =?Utf-8?B?Y3dicDE3?= Microsoft ADO .NET 3 8th Aug 2005 04:06 AM
Data Adapter Problem? G Dean Blake Microsoft ADO .NET 2 10th Mar 2005 01:17 AM
Problem with Data adapter sql statement =?Utf-8?B?SlI=?= Microsoft Dot NET 2 23rd Apr 2004 08:26 AM
Data Adapter Wizard problem!! Mike Lambert Microsoft ADO .NET 1 11th Mar 2004 06:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:52 PM.