User Profile

Collapse

Profile Sidebar

Collapse
Pega
Pega
Last Activity: Apr 23 '09, 10:33 PM
Joined: Feb 9 '09
Location: Milton Keynes, UK
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Pega
    started a topic Microsoft Access/C# transfer problem

    Microsoft Access/C# transfer problem

    Hi, im doing a college project, which is a banking app, it is more or less fully functioning, the user can log in and check their balance, but i have trouble setting up a transfer function, so the user can transfer money from their account to the chosen account. I am using access though JET for it. My efforts thus far have only got it to change the balance on the primary account. This is my open connection code which is activated when the user clicks...
    See more | Go to post

  • Pega
    replied to Databse C# problem
    Basically, I have made my project on my USB drive, so i can take work to college and work there too, and when I created the link between the program and database, the directory was through F: drive, and when it was crashing the name of the USB was U: or G:, but it was still looking for F: drive :\
    Rookie mistake
    See more | Go to post

    Leave a comment:


  • Pega
    replied to Databse C# problem
    fixed it now, so don't worry :).. it was an amateur mistake, even too embarrassing to mention
    See more | Go to post

    Leave a comment:


  • Pega
    replied to Databse C# problem
    "1. Are you sure your connection string and username password are valid?
    2. Make sure your database serve is on?

    Do go through Database
    Your code doesn't seem to be complete... can you provide more sample code? "


    the database does not have have a username or password, so i don't think its that, and the database server is on :\
    I have also tried to build my the backup of the application which i...
    See more | Go to post

    Leave a comment:


  • Pega
    started a topic Databse C# problem

    Databse C# problem

    Hi, i have a problem while trying to build my program, i have this code in the Form 1 Load :
    Code:
    private void Form1_Load(object sender, System.EventArgs e)
    		{
    			objOleDbConnection.Open();
    		    
    			OleDbDataReader objReader = objSelectAccount.ExecuteReader();    <<< Breaks here
    			
    			while (objReader.Read()) 
    			{
    				cmbAccountNumbers.Items.Add(objReader["Account Number"]);
    ...
    See more | Go to post
    Last edited by pbmods; Feb 10 '09, 12:11 AM. Reason: Added CODE tags.
No activity results to display
Show More
Working...