-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: suresh_r
Message 3 in Discussion

hi , that was my little mistake.it is ok .      i have another porblem as      
Server Error in '/ComplexDynamicDataGrid' 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 313:                  { Line 314:                              Line 
315:                              
((Label)e.Item.Cells[1].FindControl("lblC"+(visited))).Text= Line 316:          
                        dtBound.Rows[cnt][1].ToString(); Line 317:              
         
Source File: c:\inetpub\wwwroot\complexdynamicdatagrid\webform1.aspx.cs    
Line: 315 

Stack Trace: 

     [NullReferenceException: Object reference not set to an instance of an 
object.]    ComplexDynamicDataGrid.WebForm1.dgRt_ItemDataBound(Object sender, 
DataGridItemEventArgs e) in 
c:\inetpub\wwwroot\complexdynamicdatagrid\webform1.aspx.cs:315    
System.Web.UI.WebControls.DataGrid.OnItemDataBound(DataGridItemEventArgs e)    
System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 
dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, 
DataGridColumn[] columns, TableRowCollection rows, PagedDataSource 
pagedDataSource)    
System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean 
useDataSource)    
System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)    
System.Web.UI.WebControls.BaseDataList.DataBind()    
ComplexDynamicDataGrid.WebForm1.fillgrid(Int32 BenchmarkID) in 
c:\inetpub\wwwroot\complexdynamicdatagrid\webform1.aspx.cs:291    
ComplexDynamicDataGrid.WebForm1.CreateGrid() in 
c:\inetpub\wwwroot\complexdynamicdatagrid\webform1.aspx.cs:126    
ComplexDynamicDataGrid.WebForm1.Page_Load(Object sender, EventArgs e) in 
c:\inetpub\wwwroot\complexdynamicdatagrid\webform1.aspx.cs:39    
System.Web.UI.Control.OnLoad(EventArgs e) +67    
System.Web.UI.Control.LoadRecursive() +35    
System.Web.UI.Page.ProcessRequestMain() +731  
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET 
Version:1.1.4322.573    Whenever i m running this application twice 
successively it is giving error like this.When i close the application it run 
well for one time but again the same error for second time. help please code is 
attached,thanks.   
View Attachment(s):
http://groups.msn.com/bdotnet/_notifications.msnw?type=msg&mview=1&parent=1&item=24564
-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to