[To be supplied.]
[Visual Basic] Overrides Protected Function CreateNewRowUpdatingEvent( _ ByVal dataRow As DataRow, _ ByVal command As DBCommand, _ ByVal commandType As String _ ) As RowUpdatingEventArgs [C#] protected override RowUpdatingEventArgs CreateNewRowUpdatingEvent( DataRow dataRow, DBCommand command, string commandType ); [C++] protected: override RowUpdatingEventArgs* CreateNewRowUpdatingEvent( DataRow* dataRow, DBCommand* command, String* commandType ); [JScript] protected override function CreateNewRowUpdatingEvent( dataRow : DataRow, command : DBCommand, commandType : String ) : RowUpdatingEventArgs;
The following example fills a DataSet with the schema only, while filling a DataTable with records, when provided a source table.
[Visual Basic]
Public Sub MyFillDataTableAndSet(myDataTable As DataTable, _ myDataSet As DataSet, _ myDataSetComm As ADODataSetCommand, mySrcTable As String) ' Create a MessageBox to show the contents of myDataTable in Dim myMsgBox As MessageBox ' Populate myDataTable with records and myDataSet with schema myDataTable = myDataSetComm.FillDataSetSchema myDataSet, _ SchemaType.Source, mySrcTable ' Display the contents of myDataTable myMsgBox myDataTable.ToString End Sub
ADODataSetCommand Class | ADODataSetCommand Members | System.Data.ADO Namespace