Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewUpdateEventArgs.cs / 1305376 / 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;
///
/// Provides data for some events.
///
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextTreePropertyUndoUnit.cs
- SHA1Managed.cs
- SqlRowUpdatingEvent.cs
- XamlTypeMapper.cs
- BitmapEffectrendercontext.cs
- RoleServiceManager.cs
- ErrorProvider.cs
- GeneralTransform3DCollection.cs
- SchemeSettingElementCollection.cs
- BaseParagraph.cs
- WaveHeader.cs
- SettingsProviderCollection.cs
- RequestSecurityTokenResponse.cs
- HwndSource.cs
- ManagementException.cs
- SystemWebSectionGroup.cs
- DataGridViewCellPaintingEventArgs.cs
- PaperSize.cs
- TimerElapsedEvenArgs.cs
- DbConnectionPoolIdentity.cs
- QilFunction.cs
- Exceptions.cs
- DataGridViewTopRowAccessibleObject.cs
- TrustSection.cs
- Stroke2.cs
- GatewayIPAddressInformationCollection.cs
- WindowsMenu.cs
- CapabilitiesRule.cs
- GatewayIPAddressInformationCollection.cs
- XmlNamespaceDeclarationsAttribute.cs
- XpsFontSubsetter.cs
- InvalidDataContractException.cs
- SelectionRange.cs
- RichTextBox.cs
- RegisteredDisposeScript.cs
- InternalDuplexChannelListener.cs
- _KerberosClient.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- PropertyTab.cs
- FontDialog.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ReadWriteSpinLock.cs
- XmlTypeMapping.cs
- XPathEmptyIterator.cs
- EmptyControlCollection.cs
- BCLDebug.cs
- ISO2022Encoding.cs
- AccessedThroughPropertyAttribute.cs
- BindingList.cs
- ToggleButtonAutomationPeer.cs
- OSFeature.cs
- TextSerializer.cs
- SelectorItemAutomationPeer.cs
- VerificationAttribute.cs
- ManagementEventArgs.cs
- DataKeyArray.cs
- DateRangeEvent.cs
- DataGridViewCellValueEventArgs.cs
- MissingFieldException.cs
- WeakReferenceList.cs
- DataGridViewImageCell.cs
- WebPartsSection.cs
- PasswordBox.cs
- SendKeys.cs
- XmlLanguage.cs
- SqlFunctionAttribute.cs
- X500Name.cs
- QueueNameHelper.cs
- ConnectionStringsSection.cs
- MimeReflector.cs
- ResourceExpressionBuilder.cs
- HttpModuleActionCollection.cs
- PermissionSet.cs
- NavigateEvent.cs
- PrivilegeNotHeldException.cs
- BrowserDefinitionCollection.cs
- ThrowHelper.cs
- WebSysDescriptionAttribute.cs
- StringFunctions.cs
- WhitespaceRuleReader.cs
- AsymmetricKeyExchangeFormatter.cs
- WhitespaceSignificantCollectionAttribute.cs
- TypeResolver.cs
- FacetChecker.cs
- ProtectedConfiguration.cs
- CodeSubDirectoriesCollection.cs
- ClassicBorderDecorator.cs
- Accessible.cs
- MenuScrollingVisibilityConverter.cs
- WmfPlaceableFileHeader.cs
- MSHTMLHost.cs
- HyperLinkStyle.cs
- ByteStreamBufferedMessageData.cs
- SqlPersonalizationProvider.cs
- RegistryPermission.cs
- OrCondition.cs
- Range.cs
- WebRequestModuleElement.cs
- MimeTypeAttribute.cs
- COM2ColorConverter.cs