Back to Devexpress

ASPxDataBatchUpdateEventArgs.InsertValues Property

aspnet-devexpress-dot-web-dot-data-dot-aspxdatabatchupdateeventargs.md

latest2.7 KB
Original Source

ASPxDataBatchUpdateEventArgs.InsertValues Property

Returns a list of inserted values.

Namespace : DevExpress.Web.Data

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public List<ASPxDataInsertValues> InsertValues { get; }
vb
Public ReadOnly Property InsertValues As List(Of ASPxDataInsertValues)

Property Value

TypeDescription
List<ASPxDataInsertValues>

A List<T><ASPxDataInsertValues,> object containing a list of inserted values.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InsertValues property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

asp-net-web-forms-gridview-custom-buttons-in-batch-edit-mode/CS/T114462/Default.aspx.cs#L41

csharp
{
    foreach (var args in e.InsertValues)
        InsertNewItem(args.NewValues);

asp-net-web-forms-gridview-custom-buttons-in-batch-edit-mode/VB/T114462/Default.aspx.vb#L28

vb
Protected Sub Grid_BatchUpdate(ByVal sender As Object, ByVal e As DevExpress.Web.Data.ASPxDataBatchUpdateEventArgs)
    For Each args In e.InsertValues
        InsertNewItem(args.NewValues)

See Also

ASPxDataBatchUpdateEventArgs Class

ASPxDataBatchUpdateEventArgs Members

DevExpress.Web.Data Namespace