NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGridColumn.CheckValidDataSource

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
);

Parameters

value
A DataView to check.

Exceptions

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

Remarks

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.

See Also

DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace