Click here to Skip to main content
15,915,164 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRename file Pin
John Gathogo5-Dec-06 1:05
John Gathogo5-Dec-06 1:05 
AnswerRe: Rename file Pin
Guffa5-Dec-06 2:07
Guffa5-Dec-06 2:07 
GeneralRe: Rename file Pin
John Gathogo5-Dec-06 2:44
John Gathogo5-Dec-06 2:44 
QuestionExcel to sql........... Pin
ManickaSudar5-Dec-06 0:52
ManickaSudar5-Dec-06 0:52 
AnswerRe: Excel to sql........... Pin
needhelpinnet5-Dec-06 8:22
needhelpinnet5-Dec-06 8:22 
QuestionHow to Pass the values into the URL dynamically ( its Urgent ) Pin
dhansmani5-Dec-06 0:33
dhansmani5-Dec-06 0:33 
AnswerRe: How to Pass the values into the URL dynamically ( its Urgent ) Pin
DISP-Jol5-Dec-06 3:54
DISP-Jol5-Dec-06 3:54 
Questionabout NullReferenceException Pin
Ameba_NZ5-Dec-06 0:31
Ameba_NZ5-Dec-06 0:31 
i wanna set a login web page, but when i pass the password and username to the server, i got NullReferenceExcpetionwasunhandledbyusercode, can anyone help to solve this question?
this is my codes:
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string username = Request.Form.Get("userNametxt").ToString();
string password = Request.Form.Get("passwordtxt").ToString();
Response.Redirect("Default2.aspx");
}
}
this is the html code for the login page



<title>Untitled Page




Username
Password






thanks for help~~Smile | :)
AnswerRe: about NullReferenceException Pin
Guffa5-Dec-06 0:51
Guffa5-Dec-06 0:51 
QuestionPlease Help Me Pin
Muhammad834-Dec-06 23:23
Muhammad834-Dec-06 23:23 
AnswerRe: Please Help Me Pin
Colin Angus Mackay4-Dec-06 23:50
Colin Angus Mackay4-Dec-06 23:50 
GeneralRe: Please Help Me Pin
Goalie355-Dec-06 4:04
Goalie355-Dec-06 4:04 
QuestionHow to Dynamically Change label name based on menu item selection Pin
mohd imran abdul aziz4-Dec-06 23:23
mohd imran abdul aziz4-Dec-06 23:23 
QuestionException :thread is aborted ,How to remove it? Pin
yogita charhate4-Dec-06 22:13
yogita charhate4-Dec-06 22:13 
AnswerRe: Exception :thread is aborted ,How to remove it? Pin
M LN Rao4-Dec-06 22:42
M LN Rao4-Dec-06 22:42 
Questionweb.config security settings Pin
BLOEDHOND4-Dec-06 21:42
BLOEDHOND4-Dec-06 21:42 
AnswerRe: web.config security settings Pin
M LN Rao4-Dec-06 22:45
M LN Rao4-Dec-06 22:45 
GeneralRe: web.config security settings Pin
BLOEDHOND4-Dec-06 23:00
BLOEDHOND4-Dec-06 23:00 
GeneralRe: web.config security settings Pin
M LN Rao4-Dec-06 23:14
M LN Rao4-Dec-06 23:14 
GeneralRe: web.config security settings Pin
BLOEDHOND5-Dec-06 0:05
BLOEDHOND5-Dec-06 0:05 
GeneralRe: web.config security settings Pin
BLOEDHOND5-Dec-06 0:07
BLOEDHOND5-Dec-06 0:07 
Questionhow to change the default internet explorer in vs2005 Pin
Ameba_NZ4-Dec-06 21:20
Ameba_NZ4-Dec-06 21:20 
AnswerRe: how to change the default internet explorer in vs2005 Pin
IamMohan4-Dec-06 22:04
IamMohan4-Dec-06 22:04 
GeneralRe: how to change the default internet explorer in vs2005 Pin
Ameba_NZ4-Dec-06 22:07
Ameba_NZ4-Dec-06 22:07 
AnswerRe: how to change the default internet explorer in vs2005 Pin
eggsovereasy5-Dec-06 4:27
eggsovereasy5-Dec-06 4: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.