Click here to Skip to main content
15,899,126 members
Home / Discussions / C#
   

C#

 
Questionadobe acrobat pdf link cann't work on windows form Pin
Bhim Prakash Singh9-Jul-09 22:47
Bhim Prakash Singh9-Jul-09 22:47 
AnswerRe: adobe acrobat pdf link cann't work on windows form Pin
Manas Bhardwaj9-Jul-09 22:52
professionalManas Bhardwaj9-Jul-09 22:52 
QuestionVersion in VS2005 or VS2008 Pin
stancrm9-Jul-09 22:39
stancrm9-Jul-09 22:39 
AnswerRe: Version in VS2005 or VS2008 Pin
Manas Bhardwaj9-Jul-09 22:50
professionalManas Bhardwaj9-Jul-09 22:50 
QuestionI'm trying to build a TaskBar similar application, how to enum running applications? (Advanced Q) Pin
leeoze9-Jul-09 22:09
leeoze9-Jul-09 22:09 
Questionneed help Pin
mjawadkhatri9-Jul-09 21:12
mjawadkhatri9-Jul-09 21:12 
AnswerRe: need help Pin
SeMartens9-Jul-09 21:29
SeMartens9-Jul-09 21:29 
GeneralRe: need help Pin
mjawadkhatri9-Jul-09 21:42
mjawadkhatri9-Jul-09 21:42 
Thank U For Reply Me bt
How I perform Ur Coding In My Coding????

This is my All Coding In Button_click()
---------------------------------------------------------------------------
using system;
using Microsoft.data.odbc;

private void login_Click(object sender, EventArgs e)
{
OdbcConnection cn;
OdbcCommand cmd;
OdbcDataReader odr;
string MyString;

MyString = "Select * from users";

cn = new OdbcConnection("Driver={Microsoft ODBC for Oracle};Server=orcl8i;UID=itehad;PWD=creative;");


cmd = new OdbcCommand(MyString, cn);
cn.Open();
MessageBox.Show("Connected");
cmd.CommandText = "Select * from users";
odr = cmd.ExecuteReader();
while (odr.Read())
{
if (usr.Text == odr["userid"].ToString())
{
MessageBox.Show("User Login", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else
{
DialogResult drsave = MessageBox.Show("Login Fail", "Erorr", MessageBoxButtons.OKCancel, MessageBoxIcon.Error);
if (drsave == DialogResult.OK)
{
usr.Text = "";
pass.Text = "";
usr.Focus();
}
else
this.Close();
}
}
}
---------------------------------------------------------------------------
Thanks In Advace

Jawad Khatri
GeneralRe: need help Pin
SeMartens9-Jul-09 21:53
SeMartens9-Jul-09 21:53 
GeneralRe: need help Pin
mjawadkhatri10-Jul-09 0:17
mjawadkhatri10-Jul-09 0:17 
GeneralRe: need help Pin
SeMartens10-Jul-09 0:29
SeMartens10-Jul-09 0:29 
GeneralRe: need help Pin
mjawadkhatri10-Jul-09 0:40
mjawadkhatri10-Jul-09 0:40 
GeneralRe: need help Pin
SeMartens10-Jul-09 0:45
SeMartens10-Jul-09 0:45 
GeneralRe: need help Pin
mjawadkhatri10-Jul-09 0:50
mjawadkhatri10-Jul-09 0:50 
GeneralRe: need help Pin
N a v a n e e t h9-Jul-09 21:46
N a v a n e e t h9-Jul-09 21:46 
JokeRe: need help Pin
SeMartens9-Jul-09 21:55
SeMartens9-Jul-09 21:55 
GeneralRe: need help Pin
mjawadkhatri10-Jul-09 0:29
mjawadkhatri10-Jul-09 0:29 
AnswerRe: need help Pin
K03069-Jul-09 21:39
K03069-Jul-09 21:39 
Answer== and .Equals() are different. Pin
Nagy Vilmos9-Jul-09 22:19
professionalNagy Vilmos9-Jul-09 22:19 
QuestionHow can I encrypt to message in WCF? Pin
dataminers9-Jul-09 20:40
dataminers9-Jul-09 20:40 
AnswerRe: How can I encrypt to message in WCF? Pin
SeMartens9-Jul-09 21:09
SeMartens9-Jul-09 21:09 
AnswerRe: How can I encrypt to message in WCF? Pin
SeMartens9-Jul-09 21:10
SeMartens9-Jul-09 21:10 
QuestionModified TextBox property not persisting in designer Pin
SillyPants9-Jul-09 19:51
SillyPants9-Jul-09 19:51 
AnswerRe: Modified TextBox property not persisting in designer Pin
DaveyM699-Jul-09 22:39
professionalDaveyM699-Jul-09 22:39 
QuestionOver Lay Image Pin
satsumatable9-Jul-09 19:27
satsumatable9-Jul-09 19:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.