protected override bool doIsCodeExist(string code) { try { m_command.CommandText = OpeningStock.SelectCountByCode(code); int t = Convert.ToInt32(m_command.ExecuteScalar()); return(t > 0); } catch (Exception x) { throw x; } }
protected override bool doIsCodeExist(string code) { try { m_command.CommandText = OpeningStock.SelectCountByCode(code); int t = Convert.ToInt32(m_command.ExecuteScalar()); return(t > 0); } catch (Exception x) { throw x; } }