/// <summary> /// Function to get the next id for Tax Table /// </summary> /// <returns></returns> public int TaxGetMax() { int inMax = 0; try { inMax = spTax.TaxGetMax(); } catch (Exception ex) { MessageBox.Show("TBLL1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(inMax); }