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
- HttpResponseWrapper.cs
- XmlValueConverter.cs
- Module.cs
- EventLogEntryCollection.cs
- Semaphore.cs
- TextAdaptor.cs
- HitTestParameters3D.cs
- SqlNodeAnnotations.cs
- CodeDirectiveCollection.cs
- MonikerProxyAttribute.cs
- IdleTimeoutMonitor.cs
- listitem.cs
- Int32Animation.cs
- EventWaitHandle.cs
- EntityParameter.cs
- AutomationPattern.cs
- DbCommandDefinition.cs
- TraceUtils.cs
- PackagePart.cs
- QueryAccessibilityHelpEvent.cs
- NamespaceInfo.cs
- x509store.cs
- CompileLiteralTextParser.cs
- GenericIdentity.cs
- JoinTreeSlot.cs
- FragmentQueryKB.cs
- HttpDictionary.cs
- SQLMembershipProvider.cs
- SiteMapDataSourceView.cs
- DataGridViewDesigner.cs
- DbgUtil.cs
- StandardBindingCollectionElement.cs
- XmlSerializerSection.cs
- _RequestCacheProtocol.cs
- UniqueConstraint.cs
- QueryExpr.cs
- _FixedSizeReader.cs
- PolyBezierSegment.cs
- TextParaLineResult.cs
- MailWriter.cs
- XPathDescendantIterator.cs
- RepeaterItem.cs
- DrawingBrush.cs
- PropertyItemInternal.cs
- RequestNavigateEventArgs.cs
- ZipFileInfo.cs
- LoadGrammarCompletedEventArgs.cs
- ListSourceHelper.cs
- DirectionalLight.cs
- TableCell.cs
- DataServiceHostFactory.cs
- WebBrowserNavigatingEventHandler.cs
- TakeOrSkipQueryOperator.cs
- SortedDictionary.cs
- RegexGroup.cs
- _FixedSizeReader.cs
- CssTextWriter.cs
- DuplicateWaitObjectException.cs
- OleDbDataReader.cs
- iisPickupDirectory.cs
- WebPartConnectionsCancelVerb.cs
- ItemAutomationPeer.cs
- TypeFieldSchema.cs
- ApplicationGesture.cs
- Transform3DGroup.cs
- DataGridAddNewRow.cs
- LinqDataSourceEditData.cs
- KernelTypeValidation.cs
- LocatorGroup.cs
- UnsafeNativeMethods.cs
- ScriptControlDescriptor.cs
- _AutoWebProxyScriptEngine.cs
- M3DUtil.cs
- SchemaNamespaceManager.cs
- EncryptedReference.cs
- Operator.cs
- DataGrid.cs
- CompoundFileDeflateTransform.cs
- GenericEnumerator.cs
- TrustLevelCollection.cs
- DataGridViewRowsAddedEventArgs.cs
- SqlDataSourceStatusEventArgs.cs
- TransactionManager.cs
- codemethodreferenceexpression.cs
- BitmapEffectCollection.cs
- VisualStyleTypesAndProperties.cs
- SafeArrayTypeMismatchException.cs
- BitmapInitialize.cs
- CategoryAttribute.cs
- DataGridTextColumn.cs
- Animatable.cs
- ComponentChangedEvent.cs
- AccessedThroughPropertyAttribute.cs
- DESCryptoServiceProvider.cs
- DataControlField.cs
- CompiledIdentityConstraint.cs
- DelegatedStream.cs
- WeakEventTable.cs
- propertyentry.cs
- RenderData.cs