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 / GridViewDeleteEventArgs.cs / 1 / GridViewDeleteEventArgs.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 GridViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; public GridViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Provides data for some ///events. /// 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 GridViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; public GridViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Provides data for some ///events. /// 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
- DrawTreeNodeEventArgs.cs
- LoginAutoFormat.cs
- MasterPageBuildProvider.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- RubberbandSelector.cs
- XmlILIndex.cs
- SearchForVirtualItemEventArgs.cs
- EntityParameter.cs
- DecimalStorage.cs
- ProtectedConfigurationSection.cs
- TableLayoutSettingsTypeConverter.cs
- ListDictionaryInternal.cs
- DataGridViewCellCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- MatrixConverter.cs
- TransformBlockRequest.cs
- AssemblyFilter.cs
- ZoneLinkButton.cs
- PtsHost.cs
- WpfWebRequestHelper.cs
- ConsumerConnectionPoint.cs
- Model3D.cs
- SizeValueSerializer.cs
- HttpResponseHeader.cs
- IChannel.cs
- SessionStateContainer.cs
- FileAuthorizationModule.cs
- SqlEnums.cs
- SqlReorderer.cs
- BufferedWebEventProvider.cs
- SystemTcpStatistics.cs
- Parser.cs
- Nullable.cs
- XmlSchemaException.cs
- EllipseGeometry.cs
- LinqDataSourceContextEventArgs.cs
- BoolExpression.cs
- RelatedEnd.cs
- InkCanvas.cs
- CodeDirectiveCollection.cs
- UnsafeNativeMethods.cs
- PenContexts.cs
- SignerInfo.cs
- Stack.cs
- ResizeBehavior.cs
- AnonymousIdentificationSection.cs
- ErrorProvider.cs
- SafeRightsManagementHandle.cs
- SQLInt32.cs
- ColumnResizeUndoUnit.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- NoClickablePointException.cs
- StylusPointProperties.cs
- EncoderExceptionFallback.cs
- PersistChildrenAttribute.cs
- WebReferencesBuildProvider.cs
- CurrentChangingEventManager.cs
- DescendantQuery.cs
- PointAnimationClockResource.cs
- CaseCqlBlock.cs
- PropertyChangeTracker.cs
- PlainXmlDeserializer.cs
- clipboard.cs
- ReaderWriterLock.cs
- OutOfProcStateClientManager.cs
- ReadOnlyDictionary.cs
- EditorZoneBase.cs
- HiddenFieldPageStatePersister.cs
- OleDbCommand.cs
- InternalPolicyElement.cs
- XPathArrayIterator.cs
- XmlAutoDetectWriter.cs
- DbConnectionPoolCounters.cs
- SqlReferenceCollection.cs
- StylusCaptureWithinProperty.cs
- TimelineCollection.cs
- TextReader.cs
- CodeDelegateCreateExpression.cs
- FSWPathEditor.cs
- Compiler.cs
- WindowsFormsSynchronizationContext.cs
- SqlNodeAnnotation.cs
- ToolStripContainer.cs
- XmlElementAttributes.cs
- XmlNavigatorStack.cs
- Sql8ExpressionRewriter.cs
- HttpHandler.cs
- MimeMapping.cs
- RSAPKCS1SignatureFormatter.cs
- TextRunTypographyProperties.cs
- ConsumerConnectionPointCollection.cs
- UnicastIPAddressInformationCollection.cs
- AutoResetEvent.cs
- OrCondition.cs
- ResourceFallbackManager.cs
- CodeFieldReferenceExpression.cs
- DrawingAttributesDefaultValueFactory.cs
- DataGridViewColumnConverter.cs
- ActivityWithResult.cs
- AlignmentYValidation.cs