Checks if the specified DataView is valid.
[Visual Basic] Protected Sub CheckValidDataSource( _ ByVal value As ListManager _ ) [C#] protected void CheckValidDataSource( ListManager value ); [C++] protected: void CheckValidDataSource( ListManager* value ); [JScript] protected function CheckValidDataSource( value : ListManager );
Exception Type | Condition |
---|---|
ArgumentNullException | Thewas a null reference (in Visual Basic Nothing). |
ApplicationException | The TBD is not associated with a TBD or it doesn't have a TBD collection.
The TBD component's TBD doesn't belong to the TBD. The TBD isn't associated with a TBD. The TBD isn't the same TBD associated with the DataTable |
If the TBD of the DataGrid to which this TBD belongs is null, or if its DataGridTable property is set to null, an exception will be thrown. If the DataView component's TBD is not equal to the DataTable referenced through the DataGridTable property, an exception will be thrown.
DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace