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
- MissingMemberException.cs
- PassportAuthenticationEventArgs.cs
- HintTextMaxWidthConverter.cs
- Application.cs
- ActivityExecutionContext.cs
- EventBuilder.cs
- EntityContainer.cs
- PerfCounters.cs
- ObjectStateEntry.cs
- XpsColorContext.cs
- MSHTMLHost.cs
- NonParentingControl.cs
- TraceFilter.cs
- EUCJPEncoding.cs
- MembershipValidatePasswordEventArgs.cs
- SqlMethodCallConverter.cs
- Cursors.cs
- SMSvcHost.cs
- CodeCommentStatement.cs
- PackageProperties.cs
- EncoderParameters.cs
- shaperfactoryquerycachekey.cs
- SkinIDTypeConverter.cs
- OrderedDictionary.cs
- DataGridViewComboBoxEditingControl.cs
- StrokeIntersection.cs
- MetafileHeaderWmf.cs
- HttpModuleActionCollection.cs
- VisualTreeHelper.cs
- ElementMarkupObject.cs
- sqlmetadatafactory.cs
- AnchorEditor.cs
- MessageEventSubscriptionService.cs
- LinqDataSourceStatusEventArgs.cs
- BatchServiceHost.cs
- SecurityState.cs
- UnionCqlBlock.cs
- SoapReflectionImporter.cs
- DBCommandBuilder.cs
- PageCodeDomTreeGenerator.cs
- FragmentQueryProcessor.cs
- NotFiniteNumberException.cs
- Rectangle.cs
- DataGridViewCellValidatingEventArgs.cs
- SystemWebExtensionsSectionGroup.cs
- FileUtil.cs
- RequestDescription.cs
- ValidationSummary.cs
- _NegotiateClient.cs
- MetadataFile.cs
- ComponentCommands.cs
- ScrollChrome.cs
- OwnerDrawPropertyBag.cs
- ToolStripGripRenderEventArgs.cs
- SerializationStore.cs
- FileDialog.cs
- Listener.cs
- SqlCacheDependencyDatabaseCollection.cs
- SiteMapNodeCollection.cs
- relpropertyhelper.cs
- ObjectTag.cs
- PaintEvent.cs
- WinEventTracker.cs
- XmlSchemaFacet.cs
- DbConnectionInternal.cs
- Util.cs
- MsmqAppDomainProtocolHandler.cs
- Context.cs
- EdmMember.cs
- TextChange.cs
- ClientSettings.cs
- DataGridLinkButton.cs
- PageAsyncTaskManager.cs
- HtmlInputCheckBox.cs
- SafeEventLogWriteHandle.cs
- OdbcConnectionOpen.cs
- EventListenerClientSide.cs
- ProcessHostMapPath.cs
- PreviewKeyDownEventArgs.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- RowUpdatedEventArgs.cs
- Stack.cs
- Base64Stream.cs
- TransformedBitmap.cs
- CommonObjectSecurity.cs
- ToolStripRenderEventArgs.cs
- CharAnimationBase.cs
- BroadcastEventHelper.cs
- XmlDocumentFragment.cs
- TraversalRequest.cs
- MatrixStack.cs
- SerializationBinder.cs
- Native.cs
- QueryPageSettingsEventArgs.cs
- HierarchicalDataBoundControlAdapter.cs
- TemplateContainer.cs
- ValidationError.cs
- ProvidersHelper.cs
- SqlProviderServices.cs
- ReliableChannelFactory.cs