GetCurrency() public method

public GetCurrency ( ) : List
return List
Example #1
0
        public virtual void btnSearchClicked(object sender, EventArgs args)
        {
            ProductUserControl productUserControl = (ProductUserControl)LoadControl("~/ProductUserControl.ascx");

            productUserControl.ListCurrency = ms.GetCurrency();
            productUserControl.SearchItems  = ms.Search(textInput.Text, DDLsites.SelectedItem.Value, DDLcategories.SelectedItem.Value);
            resultsPlaceHolder.Controls.Add(productUserControl);
        }
Example #2
0
        private void PerformSearch()
        {
            ProductUserControl productUserControl = PUC;

            productUserControl.ListCurrency = ms.GetCurrency();
            productUserControl.SearchItems  = ms.Search(textInput.Text, "MLU", Category);
            foreach (Product p in productUserControl.SearchItems)
            {
                p.in_whishlist = Handler.IsProductInWishList(p.id);
            }
            PUC.BindRepeater();
        }
        public string TransformCurrency(string currency_id)
        {
            string symbol = "";

            foreach (Currency item in ms.GetCurrency())
            {
                if (item.id == currency_id)
                {
                    return(item.symbol);
                }
            }
            return(symbol);
        }
Example #4
0
 public gridOrders()
 {
     ordenes = new List <Order>();
     monedas = ms.GetCurrency();
 }