Пример #1
0
        /// <summary>
        /// Function to get all details based on parameter for Search
        /// </summary>
        /// <param name="strVoucherName"></param>
        /// <param name="strTypeOfvoucher"></param>
        /// <returns></returns>
        public List <DataTable> VoucherTypeSearch(string strVoucherName, string strTypeOfvoucher)
        {
            List <DataTable> listObjSearch = new List <DataTable>();

            try
            {
                listObjSearch = spVoucherType.VoucherTypeSearch(strVoucherName, strTypeOfvoucher);
            }
            catch (Exception ex)
            {
                MessageBox.Show("VT19:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(listObjSearch);
        }