public int countrole(ecprops p) { dbcon obj = new dbcon(); try { return(obj.checkcountrole(p)); } catch { throw; } finally { obj = null; } }