Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to access specefic attribute of a table? Pin
Dave Kreskowiak24-Mar-13 7:32
mveDave Kreskowiak24-Mar-13 7:32 
GeneralRe: how to access specefic attribute of a table? Pin
behrad kiani24-Mar-13 8:30
behrad kiani24-Mar-13 8:30 
Questionasp Pin
Member 993700223-Mar-13 17:09
Member 993700223-Mar-13 17:09 
AnswerRe: asp Pin
Richard MacCutchan23-Mar-13 22:22
mveRichard MacCutchan23-Mar-13 22:22 
AnswerRe: asp Pin
Abhinav S24-Mar-13 22:30
Abhinav S24-Mar-13 22:30 
QuestionManaged c++ dll struct members not visible in c# Pin
bonosa23-Mar-13 11:19
bonosa23-Mar-13 11:19 
AnswerRe: Managed c++ dll struct members not visible in c# Pin
jschell23-Mar-13 12:47
jschell23-Mar-13 12:47 
Questionmy namespace is noise but my database name noise2 .there are two table . i want to connect with noise2 but get some error like the name"lbltxtname" does not exist in current context. what can do now ?? Pin
mmmickyyy22-Mar-13 0:49
mmmickyyy22-Mar-13 0:49 
AnswerRe: my namespace is noise but my database name noise2 .there are two table . i want to connect with noise2 but get some error like the name"lbltxtname" does not exist in current context. what can do now ?? Pin
Eddy Vluggen22-Mar-13 1:07
professionalEddy Vluggen22-Mar-13 1:07 
GeneralRe: my namespace is noise but my database name noise2 .there are two table . i want to connect with noise2 but get some error like the name"lbltxtname" does not exist in current context. what can do now ?? Pin
mmmickyyy22-Mar-13 1:42
mmmickyyy22-Mar-13 1:42 
AnswerRe: my namespace is noise but my database name noise2 .there are two table . i want to connect with noise2 but get some error like the name"lbltxtname" does not exist in current context. what can do now ?? Pin
Abhinav S22-Mar-13 16:42
Abhinav S22-Mar-13 16:42 
Questionwhat is this ?? Pin
mmmickyyy22-Mar-13 0:04
mmmickyyy22-Mar-13 0:04 
AnswerRe: what is this ?? Pin
Pete O'Hanlon22-Mar-13 0:21
mvePete O'Hanlon22-Mar-13 0:21 
GeneralRe: what is this ?? Pin
harold aptroot22-Mar-13 0:47
harold aptroot22-Mar-13 0:47 
Questiontask in c# Pin
leosang21-Mar-13 23:52
leosang21-Mar-13 23:52 
AnswerRe: task in c# Pin
Nicholas Marty22-Mar-13 1:00
professionalNicholas Marty22-Mar-13 1:00 
GeneralRe: task in c# Pin
leosang22-Mar-13 1:31
leosang22-Mar-13 1:31 
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

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.