protected void BindCartList() { CartManager cartManager = new CartManager(); string where = "UserId=" + ((User)Session["userInfo"]).Id; DataSet ds = cartManager.GetList(where); CartList = cartManager.DataTableToList(ds.Tables[0]); }