开发者

Display Single Record -- Best practice

To display a single record based on query-string parameter should i use sqlda开发者_StackOverflow社区tasource and repeater or HTML Table with labels inside it and assign the value from the code behind.

(This clearly is not about best practices. I have to resort to this method due to time constraint)

Thank You in Advance.


If it's a single record, with no chance of more than one, then just use labels - the repeater adds an unnecessary complication.


DetailsView (+ DataSource) can print out a table of name-value pairs.

Personally i prefer manual table with Labels and Literals.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜