LinqDataSourceView.ValidateInsertSupported(IDictionary) Method

Definition

Validates that the conditions exist to perform an insert operation.

protected virtual void ValidateInsertSupported(System.Collections.IDictionary values);

Parameters

values
IDictionary

A dictionary that contains row values to insert.

Exceptions

The GroupBy or SelectNew property contains a value or the values parameter does not contain any items.

Remarks

You cannot insert data when the GroupBy property or the SelectNew property contains a value other than null. For more information, see the LinqDataSource.EnableInsert property.

Applies to

Продукт Версии
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1