ListBox.Rows Property
.NET Framework 3.0
Gets or sets the number of rows displayed in the ListBox control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Use the Rows property to specify the number of rows to display in the ListBox control.
Caution: |
|---|
| The number of rows must be between one and 2000. Values outside of this range will raise an exception. |
The value of the Rows property is stored in view state.
| Topic | Location |
|---|---|
| How to: Add ListBox Web Server Controls to a Web Forms Page | Building ASP .NET Web Applications |
| How to: Add ListBox Web Server Controls to a Web Forms Page | Building ASP .NET Web Applications |
Community Additions
ADD
Show:
Caution: