Hi All,good Morning,
below is my html code
.
Below code i am trting to get checkbox checked status dynamically but i am getting object refernce not in set Pls provide related code
for (int i = 0; i <= 4; i++)
{
CheckBox chk = (CheckBox)this.FindControl("CheckBox"+i);
if (chk.Checked)
{
}
else
{
}
}
Thanks VeKaT G

Midhun TpPosted Aug 18, 2017, 3:10 AM
Venkat GovindPosted Aug 18, 2017, 2:53 AM
Midhun TpPosted Aug 18, 2017, 1:27 AM
Venkat GovindPosted Aug 18, 2017, 1:22 AM
Object reference not set to an instance of an object.
If you have any other option to get ?Midhun TpPosted Aug 18, 2017, 1:06 AM