Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: task in c# Pin
Nicholas Marty22-Mar-13 1:45
professionalNicholas Marty22-Mar-13 1:45 
GeneralRe: task in c# Pin
leosang22-Mar-13 1:53
leosang22-Mar-13 1:53 
Questionwhat is the problem ?? Pin
mmmickyyy21-Mar-13 23:16
mmmickyyy21-Mar-13 23:16 
AnswerRe: what is the problem ?? Pin
Nicholas Marty21-Mar-13 23:49
professionalNicholas Marty21-Mar-13 23:49 
SuggestionRe: what is the problem ?? Pin
Matt T Heffron22-Mar-13 7:29
professionalMatt T Heffron22-Mar-13 7:29 
QuestionObject reference not set to an instance of an object. Pin
mmmickyyy21-Mar-13 23:01
mmmickyyy21-Mar-13 23:01 
AnswerRe: Object reference not set to an instance of an object. Pin
Simon_Whale21-Mar-13 23:09
Simon_Whale21-Mar-13 23:09 
GeneralRe: Object reference not set to an instance of an object. Pin
mmmickyyy21-Mar-13 23:16
mmmickyyy21-Mar-13 23:16 
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 18: protected void Page_Load(object sender, EventArgs e)
Line 19: {
Line 20: if (Request.QueryString["studentName"].ToString().Trim() == "") lblStudentName.Text = "No Record Found"; else lblStudentName.Text = Request.QueryString["Name"].ToString().Trim();
Line 21: if (Request.QueryString["studentCode"].ToString().Trim() == "") lblStudentCode.Text = "No Record Found"; else lblStudentCode.Text = Request.QueryString["Code"].ToString().Trim();
Line 22: }


Source File: D:\sanjib\niose\noise\noise\noise\recordSaved.aspx.cs Line: 20

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
noise.recordSaved.Page_Load(Object sender, EventArgs e) in D:\sanjib\niose\noise\noise\noise\recordSaved.aspx.cs:20
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
GeneralRe: Object reference not set to an instance of an object. Pin
~~Atul~~21-Mar-13 23:23
~~Atul~~21-Mar-13 23:23 
GeneralRe: Object reference not set to an instance of an object. Pin
Pete O'Hanlon21-Mar-13 23:23
mvePete O'Hanlon21-Mar-13 23:23 
AnswerRe: Object reference not set to an instance of an object. Pin
dusty_dex22-Mar-13 0:17
dusty_dex22-Mar-13 0:17 
GeneralRe: Object reference not set to an instance of an object. Pin
Pete O'Hanlon22-Mar-13 0:40
mvePete O'Hanlon22-Mar-13 0:40 
GeneralRe: Object reference not set to an instance of an object. Pin
dusty_dex22-Mar-13 1:34
dusty_dex22-Mar-13 1:34 
Questionabout the time period Pin
lightofheaven21-Mar-13 17:44
lightofheaven21-Mar-13 17:44 
AnswerRe: about the time period Pin
Boipelo21-Mar-13 21:07
Boipelo21-Mar-13 21:07 
QuestionHow to Draw Circles on GUI? Pin
Stuck At Zero21-Mar-13 10:32
Stuck At Zero21-Mar-13 10:32 
JokeRe: How to Draw Circles on GUI? Pin
Matt T Heffron21-Mar-13 10:54
professionalMatt T Heffron21-Mar-13 10:54 
AnswerRe: How to Draw Circles on GUI? Pin
Richard MacCutchan21-Mar-13 23:41
mveRichard MacCutchan21-Mar-13 23:41 
GeneralRe: How to Draw Circles on GUI? Pin
Stuck At Zero22-Mar-13 5:33
Stuck At Zero22-Mar-13 5:33 
GeneralRe: How to Draw Circles on GUI? Pin
Richard MacCutchan22-Mar-13 8:00
mveRichard MacCutchan22-Mar-13 8:00 
GeneralRe: How to Draw Circles on GUI? Pin
Stuck At Zero22-Mar-13 10:05
Stuck At Zero22-Mar-13 10:05 
GeneralRe: How to Draw Circles on GUI? Pin
Gerry Schmitz22-Mar-13 14:39
mveGerry Schmitz22-Mar-13 14:39 
GeneralRe: How to Draw Circles on GUI? Pin
Stuck At Zero22-Mar-13 14:56
Stuck At Zero22-Mar-13 14:56 
GeneralRe: How to Draw Circles on GUI? Pin
Gerry Schmitz22-Mar-13 17:43
mveGerry Schmitz22-Mar-13 17:43 
GeneralRe: How to Draw Circles on GUI? Pin
Stuck At Zero25-Mar-13 10:28
Stuck At Zero25-Mar-13 10:28 

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.