7 Replies - 796 Views - Last Post: 05 March 2011 - 10:03 AM Rate Topic: -----

#1 laakrich  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 05-March 11

Connecting a C# Application to a Database

Posted 05 March 2011 - 09:17 AM

Hello Everyone,

Im LAAK i developed a C# Application and im trying to connect to a Access Database; after copying the path from the .udl file i created n Tested the connection; "IF I ENTER RECORD IN THE APPLICATION NO ENTRY IS FOUND IN THE RECORDSET"
Is This A Good Question/Topic? 0
  • +

Replies To: Connecting a C# Application to a Database

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10807
  • View blog
  • Posts: 40,286
  • Joined: 27-December 08

Re: Connecting a C# Application to a Database

Posted 05 March 2011 - 09:19 AM

Moved to C#.

Can you post your code, using code tags?
Was This Post Helpful? 0
  • +
  • -

#3 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: Connecting a C# Application to a Database

Posted 05 March 2011 - 09:25 AM

I've never used Access before.

For a crash course, follow along this tutorial and you will learn some ways to accomplish this.
http://www.c-sharpco.../Database1.aspx

Here's a more in depth series of tutorials, directly from MSDN:
http://msdn.microsof...v=vs.80%29.aspx

If you need some specific help regarding your code, post it here for us to see. Although I highly recommend you follow those tutorials first, then post here with questions.

This post has been edited by Sergio Tapia: 05 March 2011 - 09:27 AM

Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6107
  • View blog
  • Posts: 23,663
  • Joined: 23-August 08

Re: Connecting a C# Application to a Database

Posted 05 March 2011 - 09:32 AM

Or read this tutorial.
Was This Post Helpful? 0
  • +
  • -

#5 laakrich  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 05-March 11

Re: Connecting a C# Application to a Database

Posted 05 March 2011 - 09:38 AM

Quote

Im trying to get use to this site though im new n i love this forum but what do u mean by PMs?

Was This Post Helpful? 0
  • +
  • -

#6 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: Connecting a C# Application to a Database

Posted 05 March 2011 - 09:40 AM

Nobody even mentioned PM's, what are you talking about? :pirate:
Was This Post Helpful? 0
  • +
  • -

#7 laakrich  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 05-March 11

Re: Connecting a C# Application to a Database

Posted 05 March 2011 - 09:52 AM

View PostSergio Tapia, on 05 March 2011 - 04:40 PM, said:

Nobody even mentioned PM's, what are you talking about? :pirate:


Sergio dont get me wrong; i said im new in dis site n im trying to adapt to this forum:: but i also know how to use sql but its always says connection not found n i dont know the user id and password of the sql package so how do i connect even when i know the server and the initial catalog?
Was This Post Helpful? 0
  • +
  • -

#8 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: Connecting a C# Application to a Database

Posted 05 March 2011 - 10:03 AM

I have no idea what you are saying, sorry. :(
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1