阅读背景:

从sql数据库返回一个随机行,并使用ASP.NET在html表中显示

来源:互联网 

Im new to using ASP.NET and would like to know how I can select a random row from a sql database and then display the fields in a html table on a separate page. It is intended that the user can press on button which will retrieve a random movie from the database and then display the movie details in a html table on a new page. I am not sure how to go about this and have been trying to use labels to display the data. Here is a sample of the code so far:Im new to using ASP.NET and would like to know




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: