简体   繁体   English

ASP.net 电子商务目录 Gridview

[英]ASP.net E-Commerce Catalog Gridview

I have designed a template in Photoshop and I was wondering how I can implement the boxes that I designed into Visual Studio to display the products in Grid View, similar to those we usually see in E-commerce sites.我在 Photoshop 中设计了一个模板,我想知道如何实现我在 Visual Studio 中设计的框以在网格视图中显示产品,类似于我们通常在电子商务网站中看到的那些。

There're many choices in asp.net controls: for the easier way you can use DataGrid or GridView controls, for a more pro way you can use Repeater to generate html of table/tr/td, the most flexable way, you can directly use for loop to show your data. asp.net 控件有很多选择:为了更简单的方式,您可以使用 DataGrid 或 GridView 控件,对于更专业的方式,您可以使用 Repeater 生成 html 直接用于/最灵活的表格,循环显示您的数据。

The core is just table/tr/td elements, even with DataGrid or GridView.核心只是 table/tr/td 元素,即使使用 DataGrid 或 GridView。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM