SunQuest
           Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 23rd, 2003, 08:55 AM
The History The History is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 4 The History User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question How can I add Access DB to VC# ???

Hi everyone

This is my first thread in this nice forum!!

I have a problem in linking a database (Mdb == MS Access DB) to a project in MS Visual C# .net. Actually I'm new in using MS VC# .net framework?!!

So, is it possible to do so ??


My Question might seem stupid ??
but you know I didn't find the answer that I need in other forums.

Reply With Quote
  #2  
Old July 25th, 2003, 03:25 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
You can create DSN and reference the DSN in your database connection.

Reply With Quote
  #3  
Old July 26th, 2003, 01:45 AM
The History The History is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 4 The History User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile

Thanx victorpendletom for replying to my message,

I'm new to this environment and I don't know what is DSN and how to do what you have told me !!!

When I open a new project I'll choose the type of the project (here other Projects>Database Project) then (Click on Database Project inthe template and give it a name and a location. After that, a wizard appered.

Now wich provider do I have to choose?? Let's say that the path of my DB is (C:\MyDB.mdb) how can I connect it ( I need the steps to do so)


I'm really sorry for wasting this valueble time and space from you and your graet forum.

Thank you.

Last edited by The History : July 26th, 2003 at 01:49 AM.

Reply With Quote
  #4  
Old July 26th, 2003, 11:37 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
To create a DSN - Data Source Name
start
settings
control panel
Administrative Tools
Data source (odbc)
Select SYSTEM DSN
Add
Select the Driver you are creating the data source
Complete the wizard.
...
Once the data is created you will be able to reference it when prompted in the Database Project.

Reply With Quote
  #5  
Old July 28th, 2003, 12:49 AM
The History The History is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 4 The History User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you victorpendletom, it finally worked

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > How can I add Access DB to VC# ???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway