We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,497 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Where to start in oracle database ??

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!

2
Contributors
1
Reply
6 Hours
Discussion Span
4 Months Ago
Last Updated
4
Views
new_developer
Junior Poster in Training
53 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 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

LastMitch
Industrious Poster
4,212 posts since Mar 2012
Reputation Points: 134
Solved Threads: 336
Skill Endorsements: 45

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0606 seconds using 2.66MB