Page.GetDataItem Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the data item at the top of the data-binding context stack.
public:
 System::Object ^ GetDataItem();
	public object GetDataItem();
	member this.GetDataItem : unit -> obj
	Public Function GetDataItem () As Object
	Returns
The object at the top of the data binding context stack.
Exceptions
There is no data-binding context for the page.