Page.GetDataItem Method ()
.NET Framework (current version)
Gets the data item at the top of the data-binding context stack.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | There is no data-binding context for the page. |
.NET Framework
Available since 2.0
Available since 2.0
Show: