/// <summary> /// update data at database using stored procedure /// </summary> /// <param name="spName"></param> /// <param name="data"></param> /// <returns></returns> protected bool updateSP(String spName, Data data) { int result; dbc = new DBC(); dbc.open(); result = dbc.updateSP(spName, data); dbc.close(); dbc = null; return result > 0 ? true : false; }