Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeNodeBinding.cs
- WebPartRestoreVerb.cs
- Convert.cs
- StylusPoint.cs
- Int64Storage.cs
- UpdatePanelTrigger.cs
- TextComposition.cs
- CheckBox.cs
- MimeObjectFactory.cs
- SqlUserDefinedTypeAttribute.cs
- XmlReaderSettings.cs
- UnsafeNativeMethods.cs
- SafeNativeMethods.cs
- QuadTree.cs
- JournalEntryListConverter.cs
- CompiledQuery.cs
- TableDetailsRow.cs
- FrameDimension.cs
- TreeNodeSelectionProcessor.cs
- UIntPtr.cs
- SqlNotificationRequest.cs
- UpDownEvent.cs
- ScopeElementCollection.cs
- CodeDirectoryCompiler.cs
- LineServices.cs
- DataKey.cs
- TextStore.cs
- DataObjectAttribute.cs
- IISMapPath.cs
- TextBox.cs
- ItemCollection.cs
- SafeHandles.cs
- EdmSchemaError.cs
- ExpressionServices.cs
- TextSchema.cs
- MetadataSerializer.cs
- SocketElement.cs
- ReservationNotFoundException.cs
- UnsafeNativeMethods.cs
- StyleBamlTreeBuilder.cs
- TreeNodeEventArgs.cs
- SmtpReplyReaderFactory.cs
- StreamingContext.cs
- TagMapInfo.cs
- MimeFormatter.cs
- Context.cs
- DirectoryNotFoundException.cs
- RouteParser.cs
- OleDbRowUpdatedEvent.cs
- LambdaExpression.cs
- DependencyPropertyValueSerializer.cs
- EntityDataSourceQueryBuilder.cs
- StrokeCollection.cs
- DrawingState.cs
- RectAnimationUsingKeyFrames.cs
- ArraySortHelper.cs
- VBCodeProvider.cs
- CacheOutputQuery.cs
- EntitySqlException.cs
- Task.cs
- CompoundFileIOPermission.cs
- TimeStampChecker.cs
- BuildDependencySet.cs
- XsdDateTime.cs
- IRCollection.cs
- GridItemCollection.cs
- AuthStoreRoleProvider.cs
- SrgsRuleRef.cs
- TransactionBehavior.cs
- MergeFilterQuery.cs
- UniformGrid.cs
- MarshalByRefObject.cs
- EnumConverter.cs
- RuntimeConfig.cs
- Bitmap.cs
- TimeoutValidationAttribute.cs
- BlockCollection.cs
- InputBinder.cs
- ConstraintEnumerator.cs
- ListView.cs
- HttpProfileBase.cs
- UserUseLicenseDictionaryLoader.cs
- HtmlImage.cs
- XamlTypeMapper.cs
- NonDualMessageSecurityOverHttp.cs
- AccessibleObject.cs
- CodeIndexerExpression.cs
- ResourcesBuildProvider.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- ClrPerspective.cs
- SHA512Managed.cs
- ObfuscateAssemblyAttribute.cs
- ExpandCollapseProviderWrapper.cs
- WinOEToolBoxItem.cs
- BezierSegment.cs
- FlowDocumentPageViewerAutomationPeer.cs
- PropertyStore.cs
- SmiEventStream.cs
- ApplicationActivator.cs
- DictionaryEntry.cs