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 / DetailsViewDeleteEventArgs.cs / 1 / DetailsViewDeleteEventArgs.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; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Initializes a new instance of the ////// class. /// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a keyed list to populate with old row values. This property is read-only. ///// 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; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Initializes a new instance of the ////// class. /// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.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
- Operators.cs
- ColorContext.cs
- FaultCallbackWrapper.cs
- IriParsingElement.cs
- DynamicControlParameter.cs
- PickDesigner.xaml.cs
- SegmentInfo.cs
- RtfFormatStack.cs
- ItemAutomationPeer.cs
- WebMessageEncodingBindingElement.cs
- OutKeywords.cs
- CqlParser.cs
- TempFiles.cs
- CompensableActivity.cs
- BoundField.cs
- HttpPostLocalhostServerProtocol.cs
- X509KeyIdentifierClauseType.cs
- ContainerUtilities.cs
- AssemblyInfo.cs
- BitmapEffectDrawingContextWalker.cs
- EventSinkActivityDesigner.cs
- Visual.cs
- SerializerProvider.cs
- HyperLinkField.cs
- GenericUriParser.cs
- ConstantCheck.cs
- WeakReferenceEnumerator.cs
- HtmlTableRow.cs
- DbFunctionCommandTree.cs
- Trace.cs
- SerializationSectionGroup.cs
- BindingSourceDesigner.cs
- EventMap.cs
- XmlDictionaryString.cs
- SendKeys.cs
- KnownBoxes.cs
- ObjectDataSourceMethodEventArgs.cs
- MultiView.cs
- Stacktrace.cs
- SerTrace.cs
- Panel.cs
- SerialPinChanges.cs
- SystemException.cs
- WindowsListViewScroll.cs
- BackgroundWorker.cs
- _Events.cs
- ConstructorBuilder.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- HttpRequestCacheValidator.cs
- ProcessHostMapPath.cs
- XmlILAnnotation.cs
- ForEachAction.cs
- PageEventArgs.cs
- ExceptionCollection.cs
- Animatable.cs
- StreamGeometryContext.cs
- DescendantOverDescendantQuery.cs
- Popup.cs
- HttpStreamMessageEncoderFactory.cs
- FunctionImportMapping.cs
- NetworkStream.cs
- WebPartZoneAutoFormat.cs
- Unit.cs
- DesignerActionTextItem.cs
- Publisher.cs
- DesignerTransaction.cs
- SplayTreeNode.cs
- DESCryptoServiceProvider.cs
- DataRecordInternal.cs
- RightsDocument.cs
- COM2PictureConverter.cs
- ObjectHandle.cs
- HtmlFormAdapter.cs
- RIPEMD160Managed.cs
- unitconverter.cs
- StorageEntityContainerMapping.cs
- BreakSafeBase.cs
- XPathEmptyIterator.cs
- odbcmetadatacolumnnames.cs
- ErrorsHelper.cs
- SrgsNameValueTag.cs
- HashHelper.cs
- Token.cs
- SqlReorderer.cs
- IsolatedStorage.cs
- ListControl.cs
- SizeConverter.cs
- PtsCache.cs
- IndependentAnimationStorage.cs
- OdbcTransaction.cs
- MediaElementAutomationPeer.cs
- WebPartPersonalization.cs
- Label.cs
- TransformCollection.cs
- FacetChecker.cs
- CustomError.cs
- SerializationException.cs
- PropertyConverter.cs
- RemoteWebConfigurationHostStream.cs
- DataGridState.cs