Getting the Current Row

To retrieve the current data row of a particular DataSet or a business object's default DataSet, you can use the mmBusinessForm.GetCurrentRow() method.

Here's an example of getting the current row of a business object's default DataSet.

In C#:

DataRowView drView = this.GetCurrentRow(bizObj);

In VB .NET:

Dim drView As DataRowView = Me.GetCurrentRow(bizObj)

Here's an example of getting the current row in a DataSet.

In C#:

DataRowView drView = this.GetCurrentRow(ds);

In VB .NET:

Dim drView As DataRowView = Me.GetCurrentRow(ds)

For more information on working with DataViews, see the .NET Help topic "Modifying Data Using a DataView".


© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 02/12/26
Comment or report problem with topic