Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2008 > C# 2008 aka C# 3.0
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 15th, 2009, 02:58 AM
Registered User
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Retrieve data from an Access DB

Hello!
I have a big problem! I need to deliver a work until wednesday and I am stucked...I have one form with a datagrid wich is connected to a dataset to an Access DB file. When I preview the data I see the results as I like ( Its a simple SELECT * from table) but whem I run the code it shows an empty datagrid. I see that in the datagrid properties the DataMember field is empy and I can't shoose any option. Can anyone help me?

Last edited by gnomme; June 15th, 2009 at 03:10 AM..
 
Old June 15th, 2009, 04:35 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

http://msdn.microsoft.com/en-us/libr...94(VS.71).aspx

If that doesn't help then come back.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
 
Old June 15th, 2009, 07:21 AM
Registered User
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by samjudson View Post
http://msdn.microsoft.com/en-us/libr...94(VS.71).aspx

If that doesn't help then come back.
sorry but I didn´t help me...
 
Old June 15th, 2009, 08:33 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Well it's very hard to tell what you have missed out without knowing what you have done.

Can you post any of the code, or a description of what you actually did or have tried?
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
 
Old June 15th, 2009, 09:11 AM
Registered User
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by samjudson View Post
Well it's very hard to tell what you have missed out without knowing what you have done.

Can you post any of the code, or a description of what you actually did or have tried?
I have important news! I was using Visual Studio 2008 and C# Express Edition 2005 on Vista 64 bits. I tried on XP 32 bits and now it works fine!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve image data from mysql db vermaarun2005 PHP Databases 0 July 14th, 2007 11:12 AM
data from txt files to access db citizen99 Access VBA 3 January 25th, 2005 12:50 PM
How can I retrieve data from Access dadabase in PD imfriend Classic ASP Databases 1 January 12th, 2004 10:49 AM
Retrieve data from local Access files aslyon ADO.NET 2 October 31st, 2003 08:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.