It's a bit unclear what you mean.
Are you referring to the DetailsView data control available in .NET 2.0?
If so, it is designed specifically to show only one record.
If you want to to show more than one record, you should use a GridView, DataList or Repeater. All of them let you define a template that will be used to show each record displayed.
Also, if you want to limit the height of the section to 10cm, you can enclose it in a <div> element and set its styles to prevent overflow. This will cause modern browsers to show scroll bars only for that section. I don't recall off the top of my head exactly how to do this, but it looks something like the following. You can also apply the style to the control itself, in some cases.
<div style="height: 10cm; overflow-y: scroll;">
<!-- PLACE DATA CONTROL IN HERE -->
</div>
Main Topics
Browse All Topics





by: peter57rPosted on 2007-06-15 at 04:41:46ID: 19290814
You automatically get one detail section per data record in your report's recordsource.
You design your report to set out how one record is to appear. The size of the detail section should be for one record. When you switch to preview you should then see each record in your data source.