Exemple #1
0
 private void SepetGetir()
 {
     if (Session["sepet"] != null)
     {
         DataTable dt = new DataTable();
         dt = (DataTable)Session["sepet"];
         _lstSepet.DataSource = dt.DefaultView;
         _lstSepet.DataBind();
         lblToplam.Text = _clsSepet.SepetToplam().ToString();
         EklentiSepetGetir(Convert.ToDouble(_clsSepet.SepetToplam()));
     }
 }
Exemple #2
0
 private void SepetGetir()
 {
     try
     {
         if (Session["sepet"] != null)
         {
             dt = (DataTable)Session["sepet"];
             _lstSepet.DataSource = dt.DefaultView;
             _lstSepet.DataBind();
             _lblToplam.Text = _clsSepet.SepetToplam().ToString() + " TL.";
             EklentiSepetGetir(Convert.ToDouble(_clsSepet.SepetToplam()));
         }
     }
     catch (Exception)
     {
     }
 }