A
Alex Sauceda
Hi,
I'm trying to create a procedure like this one:
protected Boolean test(object C, string id) {
if (C.FindControl(id) is Label)
{
return true;
}
}
I'm getting this error "Error 1 'object' does not contain a definition for
'FindControl' "
This code is working fine with VB. Does anyone knows how to fix this?
Regards,
Alex
I'm trying to create a procedure like this one:
protected Boolean test(object C, string id) {
if (C.FindControl(id) is Label)
{
return true;
}
}
I'm getting this error "Error 1 'object' does not contain a definition for
'FindControl' "
This code is working fine with VB. Does anyone knows how to fix this?
Regards,
Alex