1,105,288 Community Members

Where to start in oracle database ??

Member Avatar
new_developer
Junior Poster in Training
82 posts since Feb 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi guys !
I am newbie, I have downloaded oracle 11g release 2 but i don't know where to start and how to connect C# program to database. I want to write simple program of username and password in which I it stored in database. And also maps the username and password into database to check whether is correct or not.

using System;
namespace ConsoleApplication5
{
    class Program
    {
        static void Main(string[] args)
        {
            string username;
            string password;

            Console.WriteLine("Enter username : ");
            username = Console.ReadLine();
            Console.WriteLine("Enter password :");
            password = Console.ReadLine();

            if (username == "abc" && password == "123")
                Console.WriteLine("\nWelcome " + username);
            else
                Console.WriteLine("\nEither username or password was incorrect !");

        }
    }
}

Please anyone help me to create this programe in C#. I am really curious about it. Thanks!

LastMitch
Deleted Member
 
0
 

@new_developer

Please anyone help me to create this programe in C#. I am really curious about it. Thanks!

No, noone will help you write this code. You have to do it yourself.

Are you even connected to to Oracle?

Read this regardin about connecting C# to Oracle:

http://itsrashid.wordpress.com/2007/05/25/using-oracle-database-with-c/

Also read this:

http://www.codeproject.com/Articles/18692/Instant-Oracle-Using-C

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article