LinqDataSourceView.ValidateInsertSupported Method (IDictionary)
.NET Framework (current version)
Validates that the conditions exist to perform an insert operation.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
abstract ValidateInsertSupported : values:IDictionary -> unit override ValidateInsertSupported : values:IDictionary -> unit
Parameters
- values
-
Type:
System.Collections.IDictionary
A dictionary that contains row values to insert.
| Exception | Condition |
|---|---|
| InvalidOperationException | |
| NotSupportedException | CanInsert is false. |
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.
.NET Framework
Available since 3.5
Available since 3.5
Show: