如何使用C#在Asp.Net中不使用网格视图在我的页面上显示我的记录 [英] How Can I Display My Records On My Page Without Using Grid View In Asp.Net Using C#

查看:84
本文介绍了如何使用C#在Asp.Net中不使用网格视图在我的页面上显示我的记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨frnds!



我有一个包含不同记录的数据库,我想在我的asp.net页面上显示这些记录,但我不想使用网格为此目的的观点。我想以瓷砖格式显示它们,以便在每一行中可以显示多条记录,我有200多条记录。如果您有任何解决方案,请帮我解决这个问题。如果您不理解我的任务,那么请访问: www.royalwatches.pk [ ^ ]

请帮帮我!!

Thands

hi frnds!

I have a database which contains different records and I want to display these record on my asp.net page but I dnt want to use grid view for this purpose. I want to display them in tile format so that in each row multiple records can be displayed and I have more than 200 records.If you have any solution then please help me to solve this problem. If you dnt understand my questin then please vist :www.royalwatches.pk[^]
Please help me!!
Thands

推荐答案

谷歌是你的朋友,搜索:tile control asp.net
Google is your friend, search for : "tile control asp.net"


You can use RadTileList control to accomplish this.
google search : RadTileList for ASP.NET AJAX


很简单。只需使用StringBuilder变量来保存你的物品。

做类似的事情



做的时候rd.read()

StringBuilder_item.AppendLine(您当前的行信息)

循环



使用vbTab分隔字段。

试一试
Its easy. Just use a StringBuilder variable to hold ur items.
Do something like

Do While rd.read()
StringBuilder_item.AppendLine(your current row info)
Loop

Use vbTab to separate fields.
Give it a go


这篇关于如何使用C#在Asp.Net中不使用网格视图在我的页面上显示我的记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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