I am getting this error and dont know why. Below is the stack trace.
Thanks
Server Error in '/CawWebApplication1' 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 881: ' Create a new row for the new fte entry
Line 882: Dim myDataRow As DataRow
Line 883: myDataRow = NewXmlCawDevTable.NewRow
Line 884:
Line 885: ' Set the row's data values
Source File: c:\inetpub\ Line: 883
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
CawWebApplication1.SimpleCawDev.btnFteEnter_Click(Object sender, EventArgs e) in c:\inetpub\ System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Thanks
Server Error in '/CawWebApplication1' 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 881: ' Create a new row for the new fte entry
Line 882: Dim myDataRow As DataRow
Line 883: myDataRow = NewXmlCawDevTable.NewRow
Line 884:
Line 885: ' Set the row's data values
Source File: c:\inetpub\ Line: 883
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
CawWebApplication1.SimpleCawDev.btnFteEnter_Click(Object sender, EventArgs e) in c:\inetpub\ System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032