Click here to Skip to main content
15,907,326 members

Comments by Member 13764464 (Top 1 by date)

Member 13764464 5-Apr-18 11:39am View    
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 94: RadioButtonList rbl = (RadioButtonList)GridView1.Rows[0].FindControl("RadioButtonList1");
Line 95:
Line 96: ((Dictionary<Int32, string>)Session["res"])[Int32.Parse(l1.Text.TrimEnd('.'))] = rbl.SelectedValue;
Line 97:
Line 98: try