Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewUpdateEventArgs.cs / 1 / DetailsViewUpdateEventArgs.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 DetailsViewUpdateEventArgs : CancelEventArgs {
private object _commandArgument;
private OrderedDictionary _values;
private OrderedDictionary _keys;
private OrderedDictionary _oldValues;
///
/// Initializes a new instance of the
/// class.
///
public DetailsViewUpdateEventArgs(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 keyed list to populate with updated row values. This property is read-only.
///
public IOrderedDictionary Keys {
get {
if (_keys == null) {
_keys = new OrderedDictionary();
}
return _keys;
}
}
///
/// Gets a OrderedDictionary to populate with updated row values. This property is read-only.
///
public IOrderedDictionary NewValues {
get {
if (_values == null) {
_values = new OrderedDictionary();
}
return _values;
}
}
///
/// Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only.
///
public IOrderedDictionary OldValues {
get {
if (_oldValues == null) {
_oldValues = new OrderedDictionary();
}
return _oldValues;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ApplicationInfo.cs
- AnnotationHighlightLayer.cs
- PartialClassGenerationTask.cs
- ToolboxItemWrapper.cs
- CapacityStreamGeometryContext.cs
- CacheMemory.cs
- RtfToXamlReader.cs
- NumberFunctions.cs
- KeySpline.cs
- RenderContext.cs
- LeaseManager.cs
- WebPartMovingEventArgs.cs
- EnumUnknown.cs
- XmlAttributeProperties.cs
- XPathAxisIterator.cs
- PathTooLongException.cs
- XmlSchemaExporter.cs
- WebDescriptionAttribute.cs
- FlowDocumentScrollViewer.cs
- RemotingHelper.cs
- CfgParser.cs
- BamlResourceSerializer.cs
- MediaPlayerState.cs
- DataViewManager.cs
- ReceiveActivityDesignerTheme.cs
- SerialReceived.cs
- AspCompat.cs
- ToolStripControlHost.cs
- SspiNegotiationTokenAuthenticator.cs
- EqualityComparer.cs
- OneToOneMappingSerializer.cs
- NeutralResourcesLanguageAttribute.cs
- ProfileManager.cs
- XmlCharacterData.cs
- Token.cs
- InstanceCreationEditor.cs
- RawStylusActions.cs
- RequestCachingSection.cs
- MetadataCache.cs
- XmlSchemaExternal.cs
- XmlEventCache.cs
- CheckBoxPopupAdapter.cs
- LogAppendAsyncResult.cs
- CornerRadiusConverter.cs
- Hash.cs
- AttributeUsageAttribute.cs
- DesignerActionGlyph.cs
- WebCodeGenerator.cs
- XmlReflectionMember.cs
- TextFormatterContext.cs
- DiffuseMaterial.cs
- ProjectionPruner.cs
- CustomBindingElementCollection.cs
- DependencyObjectType.cs
- ClockGroup.cs
- CodeThrowExceptionStatement.cs
- CardSpaceException.cs
- TreeNodeEventArgs.cs
- HttpRequestContext.cs
- PathGeometry.cs
- PerfCounterSection.cs
- UIElementParagraph.cs
- IgnoreSection.cs
- PackageProperties.cs
- DesignerDataView.cs
- BindStream.cs
- TextRenderer.cs
- ViewGenResults.cs
- WebPartConnectionsConnectVerb.cs
- RC2CryptoServiceProvider.cs
- InitializeCorrelation.cs
- DirectoryNotFoundException.cs
- OperationCanceledException.cs
- AppSettingsExpressionEditor.cs
- PropertyToken.cs
- NeutralResourcesLanguageAttribute.cs
- Soap.cs
- HyperLinkField.cs
- peernodeimplementation.cs
- DataPagerFieldItem.cs
- SqlBuilder.cs
- GridViewRowEventArgs.cs
- FormViewRow.cs
- HighContrastHelper.cs
- CookieHandler.cs
- XmlSchemaAnnotated.cs
- FixedNode.cs
- ExtendedPropertyDescriptor.cs
- Container.cs
- DesignerValidatorAdapter.cs
- PrinterUnitConvert.cs
- SourceFileInfo.cs
- RuleProcessor.cs
- TreeBuilderBamlTranslator.cs
- ManifestResourceInfo.cs
- GraphicsContext.cs
- InputProcessorProfilesLoader.cs
- Mapping.cs
- OleDbError.cs
- PagesChangedEventArgs.cs