WebGrid.SelectedIndex Property

Definition

Gets or sets the index of the selected row relative to the current page of the WebGrid instance.

C#
public int SelectedIndex { get; set; }

Property Value

The index of the selected row relative to the current page.

Applies to

Product Versions
ASP.NET Web Pages 3.2