Click here to Skip to main content
15,902,908 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Plz find out error in my code. Pin
Colin Angus Mackay24-Apr-07 2:32
Colin Angus Mackay24-Apr-07 2:32 
AnswerRe: Plz find out error in my code. Pin
Russell Jones24-Apr-07 2:42
Russell Jones24-Apr-07 2:42 
AnswerRe: Plz find out error in my code. Pin
Md. Ismail24-Apr-07 2:50
Md. Ismail24-Apr-07 2:50 
AnswerRe: Plz find out error in my code. Pin
Dave Sexton24-Apr-07 3:16
Dave Sexton24-Apr-07 3:16 
GeneralRe: Plz find out error in my code. Pin
DeepToot24-Apr-07 5:11
DeepToot24-Apr-07 5:11 
GeneralRe: Plz find out error in my code. Pin
DeepToot24-Apr-07 5:13
DeepToot24-Apr-07 5:13 
GeneralRe: Plz find out error in my code. Pin
Dave Sexton24-Apr-07 10:36
Dave Sexton24-Apr-07 10:36 
AnswerRe: Plz find out error in my code. Pin
DeepToot24-Apr-07 5:21
DeepToot24-Apr-07 5:21 
ismailiiuc is right. This will loop through the whole DataSet.

what you should do is take it out of a loop all together. Its not needed.

There should only be one username and password in there.

after you fill your DataSet just do this:
<br />
 if (txtUser.Text == ds.Tables["CreateAccount"][0]["User_Name"].ToString() &&  txtPassword.Text == ds.Tables["CreateAccount"][0]["Password"].ToString())<br />
{<br />
  Response.Write("You have succesfully logged in");<br />
}<br />
else<br />
{<br />
  Response.Write("User Name Does Not Exist");<br />
}<br />


Steve Welborn
Software Engineer
BitWise Solutions

AnswerRe: Plz find out error in my code. Pin
Sujit Gupta24-Apr-07 7:57
Sujit Gupta24-Apr-07 7:57 
Questionprint xsl Pin
TheEagle24-Apr-07 2:13
TheEagle24-Apr-07 2:13 
QuestionConfigurationsetting Class? Pin
Care Career24-Apr-07 0:25
Care Career24-Apr-07 0:25 
AnswerRe: Configurationsetting Class? Pin
Colin Angus Mackay24-Apr-07 0:36
Colin Angus Mackay24-Apr-07 0:36 
AnswerRe: Configurationsetting Class? Pin
Sandeep Kumar24-Apr-07 0:50
Sandeep Kumar24-Apr-07 0:50 
AnswerRe: Configurationsetting Class? Pin
Sathesh Sakthivel24-Apr-07 1:40
Sathesh Sakthivel24-Apr-07 1:40 
QuestionAdding a row to ASP.NET table programatically Pin
Rohde24-Apr-07 0:01
Rohde24-Apr-07 0:01 
AnswerRe: Adding a row to ASP.NET table programatically Pin
Spunky Coder24-Apr-07 0:48
Spunky Coder24-Apr-07 0:48 
GeneralRe: Adding a row to ASP.NET table programatically Pin
Rohde24-Apr-07 1:06
Rohde24-Apr-07 1:06 
GeneralRe: Adding a row to ASP.NET table programatically Pin
enjoycrack24-Apr-07 1:12
enjoycrack24-Apr-07 1:12 
GeneralRe: Adding a row to ASP.NET table programatically Pin
Rohde24-Apr-07 1:58
Rohde24-Apr-07 1:58 
AnswerRe: Adding a row to ASP.NET table programatically Pin
Nouman Bhatti24-Apr-07 1:17
Nouman Bhatti24-Apr-07 1:17 
QuestionAsp.net page cannot be displayed Pin
chater buster24-Apr-07 0:00
chater buster24-Apr-07 0:00 
AnswerRe: Asp.net page cannot be displayed Pin
Sandeep Kumar24-Apr-07 0:29
Sandeep Kumar24-Apr-07 0:29 
AnswerRe: Asp.net page cannot be displayed Pin
Sufyan_shani24-Apr-07 2:27
Sufyan_shani24-Apr-07 2:27 
QuestionASP.NET 2.0 Pin
Darshan_shah24-Apr-07 0:00
Darshan_shah24-Apr-07 0:00 
AnswerRe: ASP.NET 2.0 Pin
Dave Sexton24-Apr-07 3:24
Dave Sexton24-Apr-07 3:24 

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.