Click here to Skip to main content
15,895,709 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: javascript error in .net Pin
enjoycrack12-Feb-07 15:24
enjoycrack12-Feb-07 15:24 
GeneralRe: javascript error in .net Pin
uowzd0112-Feb-07 16:12
uowzd0112-Feb-07 16:12 
QuestionAdd a Blank Row to Gridview? Pin
BORN...again!12-Feb-07 13:28
BORN...again!12-Feb-07 13:28 
AnswerRe: Add a Blank Row to Gridview? Pin
enjoycrack12-Feb-07 15:25
enjoycrack12-Feb-07 15:25 
QuestionNavigateUrl='<%=CodeBehindFunction %>' does not work Pin
-Dr_X-12-Feb-07 12:02
-Dr_X-12-Feb-07 12:02 
AnswerRe: NavigateUrl='<%=CodeBehindFunction %>' does not work Pin
andyharman14-Feb-07 8:20
professionalandyharman14-Feb-07 8:20 
Questioni need a code for user login time Pin
suresh_kumar_s12-Feb-07 9:16
suresh_kumar_s12-Feb-07 9:16 
AnswerRe: i need a code for user login time Pin
Rahithi12-Feb-07 10:31
Rahithi12-Feb-07 10:31 
hi,
just try this:
after entering the user id & Pwd, just use this code to know the user login time.

DateTime LoginTime= new DateTime();
LoginTime=DateTime.Now;

private string lstrUserID; // To hold login user id
private string lstrPassword; // To hold login Password
this.lblErrorMessage.Text = "";
lstrUserID = txtUserID.Text.Trim();// Get the Correct User Login Id

lstrPassword = txtPassword.Text.Trim(); // Get the Correct User Password

< write the code for validating the User>
if the credentials are valid (valid user) then, to redirect the user

Response.Redirect("MainMenu.aspx");
}
else
{
lblErrorMessage.Text = "Invalid UserID / Password";(//to display the error message i am using label here, just use according to ur page)

}


Thanks,
Rahi






If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "

AnswerRe: i need a code for user login time Pin
enjoycrack12-Feb-07 15:27
enjoycrack12-Feb-07 15:27 
QuestionDownloading file not working Pin
Program.X12-Feb-07 9:05
Program.X12-Feb-07 9:05 
AnswerRe: Downloading file not working Pin
Jon Sagara12-Feb-07 10:21
Jon Sagara12-Feb-07 10:21 
QuestionInstantiation Pin
Civic0612-Feb-07 8:19
Civic0612-Feb-07 8:19 
QuestionWhat does "Clean Solution" do? Pin
robert11012-Feb-07 6:05
robert11012-Feb-07 6:05 
AnswerRe: What does "Clean Solution" do? Pin
Ed.Poore12-Feb-07 8:42
Ed.Poore12-Feb-07 8:42 
QuestionMaximum Attachment Size Pin
happyheartcs12-Feb-07 5:39
happyheartcs12-Feb-07 5:39 
AnswerRe: Maximum Attachment Size Pin
robert11012-Feb-07 6:17
robert11012-Feb-07 6:17 
GeneralRe: Maximum Attachment Size Pin
happyheartcs12-Feb-07 8:27
happyheartcs12-Feb-07 8:27 
GeneralRe: Maximum Attachment Size Pin
robert11012-Feb-07 8:46
robert11012-Feb-07 8:46 
GeneralRe: Maximum Attachment Size Pin
happyheartcs12-Feb-07 22:30
happyheartcs12-Feb-07 22:30 
GeneralRe: Maximum Attachment Size Pin
robert11013-Feb-07 2:54
robert11013-Feb-07 2:54 
GeneralRe: Maximum Attachment Size Pin
happyheartcs13-Feb-07 2:58
happyheartcs13-Feb-07 2:58 
GeneralRe: Maximum Attachment Size Pin
robert11013-Feb-07 3:00
robert11013-Feb-07 3:00 
QuestionWeb services Pin
LCI12-Feb-07 3:56
LCI12-Feb-07 3:56 
AnswerRe: Web services Pin
ednrgc12-Feb-07 5:07
ednrgc12-Feb-07 5:07 
QuestionHow to enable SSL of the PasswordRecovery Control, VS2005 Pin
sync_austin12-Feb-07 3:54
sync_austin12-Feb-07 3:54 

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.