Easy Tutorial
❮ Aspnet Examples Prop Webcontrol Standard Accesskey ❯

ASP.NET Rows Property



Definition and Usage

The property is used to get or set the number of visible rows in a ListBox (without scrolling).

Syntax

Property Description
num Specifies the number of visible rows in the ListBox (without scrolling).

Example

The following example sets the Rows property of the ListBox control:


❮ Aspnet Examples Prop Webcontrol Standard Accesskey ❯