在asp.net页面上显示数据库中的数据/信息 [英] display data/info from a database on an asp.net page
本文介绍了在asp.net页面上显示数据库中的数据/信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何在asp.net页面上的随机位置显示来自数据库的数据/信息?我不需要ListView或Gridview ...请详细说明我是asp.net的新手.
在Coldfusion中,我需要的只是SQL查询和:
< cfoutput>
#variable##另一个变量#
谢谢.
Hi, how do i display data/info from a database on an asp.net page in random locations? i do not need at ListView or Gridview... please be detailed i am new to asp.net.
in coldfusion all i needed was the SQL query and:
<cfoutput>
#variable# #another variable#
Thanks.
推荐答案
使用转发器随机分配数据.您可以根据需要显示输出.
use repeater for dispay data randomly. You can show output as you want.
使用具有中继器或任何控件的databinder.eval来解决问题
Use databinder.eval with repeater or any control for tht matter
这篇关于在asp.net页面上显示数据库中的数据/信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文