Devolutions Utils reference library
DataSetUtils Class
NamespacesDevolutions.UtilsDataSetUtils
This class contains dataset utility functions.
Declaration Syntax
C#Visual BasicVisual C++
public static class DataSetUtils
Public NotInheritable Class DataSetUtils
public ref class DataSetUtils abstract sealed
Members
All MembersMethods



IconMemberDescription
AddOrImportRow(DataTable, DataRow)
Add a row to a datatable. If the row is owned by an other table, the row is imported in the destination.

ClearDataTableValues(DataSet, String)
Clear the table values and accept the changes for this table.

DataSourceToDataView(Object)
Return the DataView from different data source.

DataSourceToDataView(Object, String)
Return the DataView from different data source.

DataTableHasChanges(DataSet, String)
Check if the Datable has changes

FillDataRowFromObject(Type, DataRow, Object)
Fill all the column values to a data row from with the public properties of an object. String, Double Bool and DateTime types are supported.

FillMetaDataRowFromObject(Type, DataTable)
Create a table with the public properties of an object.

FindDataRow(DataTable, String, String)
Optimized find datarow.

FindDataRow(DataView, String, String)
Optimized find datarow.

FindIndexOfDataRowInDataView(DataView, DataRow)
Return the index of a data row in a DataView.

GetChangedRows(DataSet, String)
Returned the deleted, modified or inserted row for a table.

GetRows(DataSet, String, DataViewRowState)
Returned the rows matching a specific row state in a table.

IsNullOrDBNull(Object)
Return true if the parameter is null or DBNullValue

IsNullOrDBNullOrEmpty(Object)
Return true if the parameter is null or DBNullValue or String.Empty

ReadValueAsString(DataRow, String)
Read a datarow value as a string.

ReadValueAsString(DataRow, String, Boolean)
Read a datarow value as a string.

SetDataRowValue(DataRow, String, Object)
Set a datarow if the value is different of the current one.

Inheritance Hierarchy
Object
DataSetUtils

Assembly: Devolutions.Utils (Module: Devolutions.Utils)