Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewInsertEventArgs.cs / 1 / DetailsViewInsertEventArgs.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 DetailsViewInsertEventArgs : CancelEventArgs {
private object _commandArgument;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public DetailsViewInsertEventArgs(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 DetailsViewInsertEventArgs : CancelEventArgs {
private object _commandArgument;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public DetailsViewInsertEventArgs(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
- AuthenticationModuleElementCollection.cs
- HandlerWithFactory.cs
- BatchWriter.cs
- ObjectItemLoadingSessionData.cs
- UnicodeEncoding.cs
- SamlAdvice.cs
- MailMessageEventArgs.cs
- HtmlElementEventArgs.cs
- PriorityRange.cs
- ILGen.cs
- DateTime.cs
- EntitySqlQueryBuilder.cs
- RoleManagerSection.cs
- CodeIterationStatement.cs
- MeshGeometry3D.cs
- ParserOptions.cs
- GridViewHeaderRowPresenter.cs
- IntegerValidatorAttribute.cs
- SerialPinChanges.cs
- JavaScriptObjectDeserializer.cs
- FileUpload.cs
- UnicodeEncoding.cs
- wmiprovider.cs
- WebPartManagerInternals.cs
- _ChunkParse.cs
- DispatcherTimer.cs
- TimersDescriptionAttribute.cs
- SqlTopReducer.cs
- SourceFilter.cs
- DetailsViewDeleteEventArgs.cs
- SynchronizationContext.cs
- SpecularMaterial.cs
- RelationshipEnd.cs
- PeerCredentialElement.cs
- MsmqIntegrationValidationBehavior.cs
- TableCellCollection.cs
- SerializationInfoEnumerator.cs
- _UncName.cs
- RowToParametersTransformer.cs
- ThreadStartException.cs
- XmlSchemaAll.cs
- StickyNoteContentControl.cs
- CookieProtection.cs
- X509CertificateClaimSet.cs
- MultiBindingExpression.cs
- ObjectListDesigner.cs
- TextRunCache.cs
- ImmutableCollection.cs
- CatalogPartCollection.cs
- ManagementEventWatcher.cs
- SessionPageStatePersister.cs
- ModifierKeysValueSerializer.cs
- ImageSource.cs
- KeyboardNavigation.cs
- CancellationScope.cs
- CFStream.cs
- SourceSwitch.cs
- ContainerVisual.cs
- XmlLoader.cs
- Terminate.cs
- LicenseManager.cs
- ReferencedAssembly.cs
- StretchValidation.cs
- BitHelper.cs
- MetadataPropertyCollection.cs
- RIPEMD160.cs
- ViewCellRelation.cs
- ComponentManagerBroker.cs
- Block.cs
- XmlSchemaSimpleContentExtension.cs
- ActivationServices.cs
- DbConnectionOptions.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- RawMouseInputReport.cs
- ResourceDisplayNameAttribute.cs
- FtpCachePolicyElement.cs
- TypeHelpers.cs
- InstanceDescriptor.cs
- ButtonStandardAdapter.cs
- AnchoredBlock.cs
- ToolStripItemClickedEventArgs.cs
- webclient.cs
- DrawingServices.cs
- DataSvcMapFile.cs
- LiteralControl.cs
- FixedDocument.cs
- CodeLinePragma.cs
- InternalConfigEventArgs.cs
- BaseResourcesBuildProvider.cs
- Condition.cs
- DependencyObjectType.cs
- LinearGradientBrush.cs
- HtmlInputReset.cs
- PrintingPermission.cs
- HtmlInputSubmit.cs
- XmlDataProvider.cs
- AttachmentCollection.cs
- UnaryExpression.cs
- Int16AnimationUsingKeyFrames.cs
- XAMLParseException.cs