Visiomart
Posts: 13
|
Posted: 05/21/2010, 2:12 PM |
|
protected void outlets_Validating(object sender, ValidatingEventArgs e) {
//End Record outlets Event On Validate
//Record outlets Event On Validate. Action Custom Code @64-2A29BDB7
// -------------------------
if ((channelcode.Value != null && outlett_code.Value != null) && (channelcode.Value.ToString() != outlett_code.Value.ToString() )) {
errors.Add("Invalid Column B.");
}
// -------------------------
This keeps giving me error:
Compiler Error Message: CS0103: The name 'channelcode' does not exist in the current context
but the channelcode is a field listed in the form design.
Please help
_________________
Don Capone |
|
|
|