Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// 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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ISFTagAndGuidCache.cs
- SafeRightsManagementHandle.cs
- ZipPackage.cs
- BaseHashHelper.cs
- PropertyEmitterBase.cs
- EventMappingSettingsCollection.cs
- Translator.cs
- FixedBufferAttribute.cs
- DataGridCellItemAutomationPeer.cs
- InheritablePropertyChangeInfo.cs
- SiteMapDataSource.cs
- Style.cs
- StateItem.cs
- MissingMethodException.cs
- ScrollProperties.cs
- DependencyProperty.cs
- UTF8Encoding.cs
- PropertyChangeTracker.cs
- StyleBamlTreeBuilder.cs
- ScriptMethodAttribute.cs
- RightsManagementEncryptionTransform.cs
- Pkcs9Attribute.cs
- SqlTypeSystemProvider.cs
- VectorConverter.cs
- MetadataCache.cs
- PerformanceCounterPermissionAttribute.cs
- TrayIconDesigner.cs
- ContextMenu.cs
- EndPoint.cs
- StackSpiller.Bindings.cs
- DocumentGridContextMenu.cs
- Viewport3DVisual.cs
- BackStopAuthenticationModule.cs
- AmbientValueAttribute.cs
- BigInt.cs
- NativeMethods.cs
- MdbDataFileEditor.cs
- Point.cs
- DataGridViewCellStyle.cs
- AsymmetricSignatureFormatter.cs
- XmlSortKey.cs
- OutputCacheSettings.cs
- XmlSchemaException.cs
- AudioStateChangedEventArgs.cs
- Ray3DHitTestResult.cs
- XmlReflectionImporter.cs
- ExceptionUtil.cs
- SamlSecurityTokenAuthenticator.cs
- SizeLimitedCache.cs
- AnnotationObservableCollection.cs
- DeliveryRequirementsAttribute.cs
- SystemException.cs
- ObjectAnimationUsingKeyFrames.cs
- DataExchangeServiceBinder.cs
- PenContexts.cs
- XmlUtil.cs
- DetailsViewCommandEventArgs.cs
- Size3D.cs
- CodeMemberEvent.cs
- OleDbCommand.cs
- DataError.cs
- PathFigureCollection.cs
- PackagePart.cs
- DesignerListAdapter.cs
- WindowsRebar.cs
- AssemblyBuilder.cs
- Perspective.cs
- ModuleElement.cs
- EtwTrace.cs
- BoundingRectTracker.cs
- SqlDataSourceCommandEventArgs.cs
- IncomingWebRequestContext.cs
- ObjectDataSourceFilteringEventArgs.cs
- NativeMethods.cs
- TemplateModeChangedEventArgs.cs
- ServiceEndpointAssociationProvider.cs
- ByteFacetDescriptionElement.cs
- AjaxFrameworkAssemblyAttribute.cs
- NumericUpDownAcceleration.cs
- TemplateKey.cs
- CrossAppDomainChannel.cs
- InvokeHandlers.cs
- WindowsAuthenticationEventArgs.cs
- ExceptionHandlersDesigner.cs
- ObfuscationAttribute.cs
- GridErrorDlg.cs
- PropertiesTab.cs
- MailDefinitionBodyFileNameEditor.cs
- SpellCheck.cs
- RoleManagerModule.cs
- elementinformation.cs
- TrackingLocation.cs
- DataObjectFieldAttribute.cs
- ClassGenerator.cs
- SqlRemoveConstantOrderBy.cs
- RangeValuePattern.cs
- ControlAdapter.cs
- ISessionStateStore.cs
- DynamicDiscoveryDocument.cs
- HScrollProperties.cs