Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / FormViewInsertEventArgs.cs / 1 / FormViewInsertEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.Collections;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Security.Permissions;
///
/// Provides data for some events.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class FormViewInsertEventArgs : CancelEventArgs {
private object _commandArgument;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public FormViewInsertEventArgs(object commandArgument) : base(false) {
this._commandArgument = commandArgument;
}
///
/// Gets the argument to the command posted to the . This property is read-only.
///
public object CommandArgument {
get {
return _commandArgument;
}
}
///
/// Gets a OrderedDictionary to populate with inserted row values. This property is read-only.
///
public IOrderedDictionary Values {
get {
if (_values == null) {
_values = new OrderedDictionary();
}
return _values;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.Collections;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Security.Permissions;
///
/// Provides data for some events.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class FormViewInsertEventArgs : CancelEventArgs {
private object _commandArgument;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public FormViewInsertEventArgs(object commandArgument) : base(false) {
this._commandArgument = commandArgument;
}
///
/// Gets the argument to the command posted to the . This property is read-only.
///
public object CommandArgument {
get {
return _commandArgument;
}
}
///
/// Gets a OrderedDictionary to populate with inserted row values. This property is read-only.
///
public IOrderedDictionary Values {
get {
if (_values == null) {
_values = new OrderedDictionary();
}
return _values;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DurableInstanceManager.cs
- ImageFormat.cs
- BevelBitmapEffect.cs
- WindowsListViewSubItem.cs
- Misc.cs
- CrossSiteScriptingValidation.cs
- SqlBooleanMismatchVisitor.cs
- BooleanStorage.cs
- BooleanFunctions.cs
- WebPartDesigner.cs
- EntityProxyTypeInfo.cs
- HTMLTagNameToTypeMapper.cs
- SqlPersonalizationProvider.cs
- CreateRefExpr.cs
- DataListComponentEditor.cs
- PeerName.cs
- GridViewDeleteEventArgs.cs
- DesignerHost.cs
- HtmlFormParameterWriter.cs
- ValidationErrorEventArgs.cs
- XmlValidatingReader.cs
- UnmanagedMarshal.cs
- TimelineCollection.cs
- TypefaceCollection.cs
- CodeAttributeDeclarationCollection.cs
- Activator.cs
- XPathAxisIterator.cs
- PlanCompiler.cs
- Span.cs
- Span.cs
- CultureInfo.cs
- ExtensionDataReader.cs
- DesignerToolboxInfo.cs
- MethodExpr.cs
- __Filters.cs
- AnnotationComponentChooser.cs
- SmtpFailedRecipientException.cs
- NodeFunctions.cs
- PartialClassGenerationTaskInternal.cs
- OleDbWrapper.cs
- PrintController.cs
- AuthorizationSection.cs
- RadioButtonFlatAdapter.cs
- DataFormat.cs
- StateItem.cs
- IgnoreDeviceFilterElementCollection.cs
- SeparatorAutomationPeer.cs
- GenericXmlSecurityToken.cs
- SchemaImporterExtensionElement.cs
- DataViewListener.cs
- ToolConsole.cs
- ListControl.cs
- MouseGestureValueSerializer.cs
- RtfFormatStack.cs
- serverconfig.cs
- DataListItemEventArgs.cs
- DataGridViewCellPaintingEventArgs.cs
- PolicyUnit.cs
- ProcessHostConfigUtils.cs
- CompiledQueryCacheEntry.cs
- TreeNodeCollection.cs
- ByteStack.cs
- MarginsConverter.cs
- RouteCollection.cs
- CodeChecksumPragma.cs
- CaseInsensitiveHashCodeProvider.cs
- Section.cs
- FormatConvertedBitmap.cs
- AttributeUsageAttribute.cs
- TransactionScopeDesigner.cs
- DbConnectionInternal.cs
- PeerContact.cs
- RtfControlWordInfo.cs
- PropertyDescriptorComparer.cs
- CharEntityEncoderFallback.cs
- DynamicRendererThreadManager.cs
- InstanceKeyView.cs
- DataGridViewDataErrorEventArgs.cs
- UrlRoutingModule.cs
- TextRange.cs
- HTMLTextWriter.cs
- MetadataArtifactLoaderCompositeFile.cs
- TemplateKeyConverter.cs
- ObjectListGeneralPage.cs
- SoapMessage.cs
- AppearanceEditorPart.cs
- UnsafeNativeMethods.cs
- ActivityExecutorOperation.cs
- GlobalItem.cs
- VerbConverter.cs
- NetworkAddressChange.cs
- WebControlParameterProxy.cs
- NameValueFileSectionHandler.cs
- MultiAsyncResult.cs
- HandlerFactoryCache.cs
- wmiprovider.cs
- InputBuffer.cs
- MissingMethodException.cs
- UInt64Storage.cs
- HotCommands.cs