Espero que alguém me ajude hehe
Então, eu tenho 1 checkbox e quero colocar o status dele em uma label, porém quando uso o FindControl, ele me retorna o erro abaixo:
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:
|
E quando uso o
string strApproval1 = Convert.ToString(Approval1);
Não retorna nada.
Alguém tem alguma solução?