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!
new_developer
Junior Poster in Training
53 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
LastMitch
Industrious Poster
4,212 posts since Mar 2012
Reputation Points: 134
Solved Threads: 336
Skill Endorsements: 45