Пример #1
0
        protected void acbCurrency_SearchClick(object sender, EventArgs e)
        {
            try
            {

                objCurrencyLookup = new CurrencyLookupDal();
                DataSet dsCurrency = objCurrencyLookup.GetCurrency(acbCurrency.SearchTextBox.Text);
                radgrdCurrency.DataSource = dsCurrency;
                radgrdCurrency.DataBind();
                ViewState[vsCurrency] = dsCurrency;
                Reset();
            }
            catch (Exception ex)
            {
                bool rethrow = ExceptionPolicy.HandleException(ex, DALHelper.DAL_EXP_POLICYNAME);
                if (rethrow)
                { throw ex; }
            }

        }
Пример #2
0
        /// <summary>
        /// Bind RoomType grid
        /// </summary>
        private void BindGrid()
        {

            objCurrencyLookup = new CurrencyLookupDal();
            DataSet dsCurrency = objCurrencyLookup.GetCurrency("");
            radgrdCurrency.DataSource = dsCurrency;
            radgrdCurrency.DataBind();
            ViewState[vsCurrency] = dsCurrency;

        }