Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewDeletedEventArgs.cs / 1 / DetailsViewDeletedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections.Specialized; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewDeletedEventArgs : EventArgs { private int _affectedRows; private Exception _exception; private bool _exceptionHandled; private IOrderedDictionary _keys; private IOrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeletedEventArgs(int affectedRows, Exception e) { this._affectedRows = affectedRows; this._exceptionHandled = false; this._exception = e; } ///Initializes a new instance of the ////// class. /// public int AffectedRows { get { return _affectedRows; } } ///Gets the source of the command. This property is read-only. ////// public Exception Exception { get { return _exception; } } ///Gets the exception (if any) that occurred during the operation. This property is read-only. ////// public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } ///Gets a flag telling whether the exception was handled. ////// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } internal void SetKeys(IOrderedDictionary keys) { _keys = keys; } internal void SetValues(IOrderedDictionary values) { _values = values; } } }Gets a keyed list to populate with old row values. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemaObjectWriter.cs
- BooleanFacetDescriptionElement.cs
- PassportAuthenticationModule.cs
- LeafCellTreeNode.cs
- Walker.cs
- HintTextMaxWidthConverter.cs
- ViewLoader.cs
- CalendarBlackoutDatesCollection.cs
- CreateUserWizard.cs
- FixedPage.cs
- XPathDocumentIterator.cs
- ControlValuePropertyAttribute.cs
- TdsParameterSetter.cs
- UnauthorizedAccessException.cs
- AlphabeticalEnumConverter.cs
- StdRegProviderWrapper.cs
- GridViewSelectEventArgs.cs
- ToolConsole.cs
- EntityViewContainer.cs
- PartialTrustVisibleAssembly.cs
- DataGridViewUtilities.cs
- SliderAutomationPeer.cs
- XamlInt32CollectionSerializer.cs
- TextStore.cs
- CounterCreationDataCollection.cs
- MessageLogger.cs
- ContourSegment.cs
- Point3DCollection.cs
- ExpressionBuilder.cs
- XmlSchemaRedefine.cs
- GridPatternIdentifiers.cs
- DrawItemEvent.cs
- ResourcesBuildProvider.cs
- ProfileServiceManager.cs
- CrossSiteScriptingValidation.cs
- ISessionStateStore.cs
- HighlightVisual.cs
- documentsequencetextcontainer.cs
- QilIterator.cs
- MenuBase.cs
- _NetRes.cs
- SQLInt16Storage.cs
- CallTemplateAction.cs
- XmlNamespaceDeclarationsAttribute.cs
- OutputCache.cs
- ServiceDeploymentInfo.cs
- AsyncOperation.cs
- PageTrueTypeFont.cs
- GC.cs
- FindCriteriaCD1.cs
- SafeLibraryHandle.cs
- TypeNameHelper.cs
- ChildrenQuery.cs
- BroadcastEventHelper.cs
- MsmqProcessProtocolHandler.cs
- HttpResponseInternalWrapper.cs
- TempFiles.cs
- WebBrowser.cs
- DataControlPagerLinkButton.cs
- ChannelSettingsElement.cs
- AccessedThroughPropertyAttribute.cs
- ConfigurationException.cs
- JsonReaderDelegator.cs
- DispatcherHookEventArgs.cs
- BuildResultCache.cs
- MethodSet.cs
- ObjectDataSourceFilteringEventArgs.cs
- SqlFacetAttribute.cs
- DataControlPagerLinkButton.cs
- MetadataPropertyvalue.cs
- Version.cs
- RefreshPropertiesAttribute.cs
- PathGeometry.cs
- SessionStateModule.cs
- cache.cs
- ProviderUtil.cs
- TaiwanLunisolarCalendar.cs
- RSAOAEPKeyExchangeFormatter.cs
- WindowsListViewItemStartMenu.cs
- NativeMethods.cs
- CodeExpressionCollection.cs
- SupportingTokenAuthenticatorSpecification.cs
- XmlSchemaFacet.cs
- NotCondition.cs
- RootBrowserWindowAutomationPeer.cs
- Int32RectValueSerializer.cs
- FileLevelControlBuilderAttribute.cs
- DataGridViewTopLeftHeaderCell.cs
- TypeHelpers.cs
- ImageIndexConverter.cs
- StackSpiller.cs
- CompiledQueryCacheKey.cs
- StylusButton.cs
- NullExtension.cs
- XmlMapping.cs
- WebPartTransformerAttribute.cs
- InfoCardProofToken.cs
- SqlCommandSet.cs
- WebPartConnectionsCloseVerb.cs
- HwndHost.cs