AwDbExData.AddNewRow Method 

Adds a new view row.

[Visual Basic]
Public Function AddNewRow( _
   ByVal colsName As String(), _
   ByVal colsValue As Object(), _
   ByVal update As Boolean _
) As Boolean
[C#]
public bool AddNewRow(
   string[] colsName,
   object[] colsValue,
   bool update
);

Parameters

colsName
Column name.
colsValue
Value.
update
Value that indicates whether the update is executed immediately.

Return Value

Returns true if successful; otherwise false.

Example

How to add a new row and update it.

Dim cols As String() = {"xxx_id", "xxx_name"}
Dim colsValue As String() = {"00001", "Asterworld"}
dbExData.AddNewRow(cols, colsValue, True)
cols = new string[] { "xxx_id", "xxx_name" };
string[] colsValue = new string[] { "00001", "Asterworld" };
dbExData.AddNewRow(cols, colsValue, true);

See Also

AwDbExData Class | Asterworld.Data Namespace

Home | Software & Source Code Library | About Us | Information Based on Law | Terms of Service
Software List | Product Price List | How to Buy | Order Form | FAQ | Site Map
Copyright (C) 2001-2012 Asterworld. All Rights Reserved.