我的第一个购物车 [英] My first Shopping Cart

查看:71
本文介绍了我的第一个购物车的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好专家!

我第一次使用购物车页面,并且从sqldb检索一个(1个记录)产品时遇到一些问题使用我喜欢使用的存储过程。

我使用:Visual Studio 2010 Ultimate,vb.net

可以使用gridview购物车页面。如果我应该只有一个记录,产品,图像,字幕,价格和描述怎么办。

Hello experts!
I work with a shopping cart page for the first time and have a little problem when it comes to retrieve one (1 record) product from sqldb using Stored Procedures that I like to use.
I use: Visual Studio 2010 Ultimate, vb.net
It is okay to use gridview on a shopping cart page. What do if I should just have one record, product, image, subtitles, price and description.

推荐答案

FormView 控件 [ ^ ]或 DetailsView 控制 [ ^ ]可让您一次显示一条记录。



FormView 使您可以更好地控制项目的布局,而 DetailsView 采用更简单的方法,类似于 GridView control。
Either the FormView control[^] or the DetailsView control[^] will let you display a single record at a time.

FormView gives you more control over the layout of the item, whereas DetailsView takes a simpler approach that's similar to the GridView control.


这篇关于我的第一个购物车的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆