void GetCartDetails(string iid) { DataTable dt = new DataTable(); condition = DataExtension.AndConditon( ItemsTSql.GetItemsByViapp(app), ItemsTSql.GetItemsByIid(iid) ); dt = TatThanhJsc.Database.Items.GetItems("1", "*", condition, ""); if (dt.Rows.Count > 0) { ltrMaDonHang.Text = dt.Rows[0][ItemsColumns.VikeyColumn].ToString(); ltrThongTinKhachHang.Text = LayThongTinKhachHang(dt.Rows[0][ItemsColumns.VicontentColumn].ToString()); double phiVanChuyen = 0; double tongTienHang = 0; try { phiVanChuyen = double.Parse(dt.Rows[0][ItemsColumns.FisalepriceColumn].ToString()); } catch { } try { tongTienHang = double.Parse(dt.Rows[0][ItemsColumns.FipriceColumn].ToString()); } catch {} tongTienHang += phiVanChuyen; ltrTotalPrice.Text = NumberExtension.FormatNumber(tongTienHang.ToString()); ltrReadPrice.Text = NumberExtension.ReadNumber(tongTienHang.ToString()); GetList(iid); } }