As described below:
-------------------------------------------------- -------------- INT32 CNT = 0; CNT = (int32) Mycmd.executescalar (); if (cnt> 4) {response.write ("