Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- util.cs
- HtmlDocument.cs
- StreamInfo.cs
- HScrollBar.cs
- NopReturnReader.cs
- BaseTemplateBuildProvider.cs
- WorkflowMarkupSerializerMapping.cs
- SecurityPolicyVersion.cs
- _Events.cs
- MsmqNonTransactedPoisonHandler.cs
- ImageList.cs
- BasicExpandProvider.cs
- QuaternionIndependentAnimationStorage.cs
- MimeImporter.cs
- UriTemplateCompoundPathSegment.cs
- LongValidator.cs
- IdentityValidationException.cs
- WindowsScrollBar.cs
- ToolStrip.cs
- OdbcConnectionHandle.cs
- IPCCacheManager.cs
- EventProviderTraceListener.cs
- DocComment.cs
- RuntimeHelpers.cs
- ByteStack.cs
- AutoGeneratedField.cs
- ComboBoxAutomationPeer.cs
- KeyEvent.cs
- EmissiveMaterial.cs
- HwndAppCommandInputProvider.cs
- XamlToRtfWriter.cs
- SafeEventLogReadHandle.cs
- StorageBasedPackageProperties.cs
- ClipboardProcessor.cs
- SafeProcessHandle.cs
- FixedPageProcessor.cs
- ObjectIDGenerator.cs
- Dynamic.cs
- TypeUsageBuilder.cs
- PrinterSettings.cs
- StylusPoint.cs
- ErrorHandler.cs
- HtmlInputFile.cs
- SoapEnumAttribute.cs
- SchemaImporterExtensionsSection.cs
- cookiecontainer.cs
- OutKeywords.cs
- NamespaceList.cs
- GenericXmlSecurityToken.cs
- DragCompletedEventArgs.cs
- X509Certificate2Collection.cs
- arabicshape.cs
- AuthenticationManager.cs
- Panel.cs
- ProfilePropertySettings.cs
- SettingsPropertyValue.cs
- WrapPanel.cs
- SHA512.cs
- HMAC.cs
- ExpandedWrapper.cs
- Crypto.cs
- EventLogPermissionHolder.cs
- BinaryFormatter.cs
- baseaxisquery.cs
- FilteredDataSetHelper.cs
- ListViewTableRow.cs
- TripleDES.cs
- ExpressionPrefixAttribute.cs
- ProfileManager.cs
- BasicExpandProvider.cs
- MsmqDiagnostics.cs
- VerificationException.cs
- DBConcurrencyException.cs
- CommandBindingCollection.cs
- QilExpression.cs
- EntityDataSourceConfigureObjectContext.cs
- Helpers.cs
- sqlstateclientmanager.cs
- NestPullup.cs
- MetafileHeader.cs
- LongTypeConverter.cs
- OrthographicCamera.cs
- WindowsListViewItemStartMenu.cs
- BoolLiteral.cs
- XmlWriterTraceListener.cs
- RegisterResponseInfo.cs
- DeviceSpecificChoiceCollection.cs
- StreamGeometryContext.cs
- HelloMessageCD1.cs
- EntityDataSourceWrapperCollection.cs
- sqlstateclientmanager.cs
- WebPartDisplayModeCollection.cs
- StringDictionary.cs
- SerialPort.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Sentence.cs
- SvcMapFile.cs
- EntityDataSourceSelectedEventArgs.cs
- CustomSignedXml.cs
- fixedPageContentExtractor.cs