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.NullRefe renceException: Object reference not set to an instance of an object.
Source Error:
Line 236: GridViewRow row = GridView1.Rows[i];
Line 237:
Line 238: bool isChecked = ((CheckBox)row. FindControl("Ch eckBox2")).Chec ked;
Line 239:
Line 240: if (isChecked)
Source File: h:\Office Works\Projects\ Sample Applications\Gr idViewVitCode.a spx.cs Line: 238
Plz solve this problem
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.NullRefe renceException: Object reference not set to an instance of an object.
Source Error:
Line 236: GridViewRow row = GridView1.Rows[i];
Line 237:
Line 238: bool isChecked = ((CheckBox)row. FindControl("Ch eckBox2")).Chec ked;
Line 239:
Line 240: if (isChecked)
Source File: h:\Office Works\Projects\ Sample Applications\Gr idViewVitCode.a spx.cs Line: 238
Plz solve this problem
Comment