PageDataGridDataItemClassToCopy Method | |
Copy a data item. Put properties: ID 0, Action
Create,
Status
Create and empty GUID
Namespace:
SOWIWin.Helper
Assembly:
SOWIWin.Helper (in SOWIWin.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public void ToCopy(
DataItemClass pItem,
int pIndex = -1
)
Public Sub ToCopy (
pItem As DataItemClass,
Optional pIndex As Integer = -1
)
Parameters
- pItem
- Type: DataItemClass
data item to copy - pIndex (Optional)
- Type: SystemInt32
index to insert (default -1, if -1 to add)
Examples
This example copying the selected data item
this.ToCopy((DataItemClass)this.PageDataGridUI.DataGridMain.SelectedItem);
See Also