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!

ADODataSetCommand.CreateNewRowUpdatingEvent

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

Parameters

dataRow
[To be supplied.]
command
[To be supplied.]
commandType
[To be supplied.]

Example [Visual Basic]

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

See Also

ADODataSetCommand Class | ADODataSetCommand Members | System.Data.ADO Namespace