Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using unsafe sizeof in c# Pin
The Geek5-Feb-07 20:25
The Geek5-Feb-07 20:25 
Question'System.ComponentModel.win32Exception' Pin
Ankit Aneja5-Feb-07 19:25
Ankit Aneja5-Feb-07 19:25 
AnswerRe: 'System.ComponentModel.win32Exception' Pin
Judah Gabriel Himango6-Feb-07 8:05
sponsorJudah Gabriel Himango6-Feb-07 8:05 
QuestionHow can I SMTP and POP3 Pin
sjs4u5-Feb-07 18:55
sjs4u5-Feb-07 18:55 
AnswerRe: How can I SMTP and POP3 Pin
Christian Graus5-Feb-07 19:47
protectorChristian Graus5-Feb-07 19:47 
QuestionHelp on Remember password Pin
Nekshan5-Feb-07 18:40
Nekshan5-Feb-07 18:40 
AnswerRe: Help on Remember password Pin
Christian Graus5-Feb-07 19:50
protectorChristian Graus5-Feb-07 19:50 
QuestionThanx Graus ... Pin
Nekshan5-Feb-07 21:36
Nekshan5-Feb-07 21:36 
thanx graus.
i have checked login,now i want loginid n password which user enters in textboxes into another database.
i m a student of computer science doing project work.
i m trying this code, but no effect :

private void button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data Source=PROGRAMER;Initial Catalog=statusutility;Integrated Security=True");
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;

con.Open();
cmd.CommandText = "INSERT INTO login(userid,password) VALUES (@pUsername,@pPswd)";

SqlParameter p1 = new SqlParameter("@pUsername", SqlDbType.VarChar, 50);
p1.Value = textBox1.Text;
cmd.Parameters.Add(p1);

SqlParameter p2 = new SqlParameter("@pPswd", SqlDbType.VarChar, 50);
p2.Value = textBox2.Text;
cmd.Parameters.Add(p2);

con.Close();
}

can u plz help on it?
Thank You.
Nekshan.
AnswerRe: Thanx Graus ... Pin
althamda5-Feb-07 23:12
althamda5-Feb-07 23:12 
AnswerRe: Thanx Graus ... Pin
VirtualVoid.NET6-Feb-07 3:28
VirtualVoid.NET6-Feb-07 3:28 
QuestionUse of OpenPOP.dll in C# asp.net web application Pin
EEmaan5-Feb-07 18:07
EEmaan5-Feb-07 18:07 
QuestionVisual studio 2005 C#.Net Pin
Sri harini5-Feb-07 18:01
Sri harini5-Feb-07 18:01 
AnswerRe: Visual studio 2005 C#.Net Pin
bobsugar2225-Feb-07 21:35
bobsugar2225-Feb-07 21:35 
QuestionWindows CE database Pin
Dinesh_v5-Feb-07 17:29
Dinesh_v5-Feb-07 17:29 
Questionip address conflict Pin
swethakk5-Feb-07 17:23
swethakk5-Feb-07 17:23 
Questionip address conflict Pin
swethakk5-Feb-07 17:22
swethakk5-Feb-07 17:22 
Question.NET Pin
vasini5-Feb-07 17:03
vasini5-Feb-07 17:03 
AnswerRe: .NET Pin
Sandeep Akhare5-Feb-07 19:22
Sandeep Akhare5-Feb-07 19:22 
QuestionHelp in Use of media player in C# Asp.net web application Pin
EEmaan5-Feb-07 16:57
EEmaan5-Feb-07 16:57 
QuestionGenerics Pin
mehrdadc485-Feb-07 16:20
mehrdadc485-Feb-07 16:20 
AnswerRe: Generics Pin
Christian Graus5-Feb-07 17:31
protectorChristian Graus5-Feb-07 17:31 
Questionxml parsing help please Pin
snouto5-Feb-07 14:55
snouto5-Feb-07 14:55 
AnswerRe: xml parsing help please Pin
Sandeep Akhare5-Feb-07 18:56
Sandeep Akhare5-Feb-07 18:56 
QuestionOpening documents on program startup Pin
TheBirdman995-Feb-07 13:10
TheBirdman995-Feb-07 13:10 
AnswerRe: Opening documents on program startup Pin
Christian Graus5-Feb-07 13:12
protectorChristian Graus5-Feb-07 13:12 

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.