Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DodSequenceMerge.cs
- ItemCheckedEvent.cs
- GridViewItemAutomationPeer.cs
- SoapReflector.cs
- ValidationRuleCollection.cs
- MethodCallTranslator.cs
- GradientBrush.cs
- ElementUtil.cs
- SafeFileMappingHandle.cs
- CharEntityEncoderFallback.cs
- ExpressionBindings.cs
- ListItemConverter.cs
- CommandManager.cs
- RemoteHelper.cs
- XmlArrayItemAttribute.cs
- RootDesignerSerializerAttribute.cs
- WeakHashtable.cs
- HitTestParameters3D.cs
- WindowsAuthenticationModule.cs
- TextStore.cs
- TreeIterator.cs
- EventsTab.cs
- _NTAuthentication.cs
- XPathDescendantIterator.cs
- BinaryFormatterWriter.cs
- ConnectionInterfaceCollection.cs
- TreeNode.cs
- ObjectQueryExecutionPlan.cs
- DataGrid.cs
- XmlDeclaration.cs
- XmlSchemaParticle.cs
- EntityDataSourceChangedEventArgs.cs
- PenLineJoinValidation.cs
- ReferencedType.cs
- HttpWebRequest.cs
- ImageBrush.cs
- RadioButtonRenderer.cs
- DataRowExtensions.cs
- XmlSchemaSimpleTypeUnion.cs
- PolicyManager.cs
- InvalidEnumArgumentException.cs
- AssemblyUtil.cs
- RadioButtonStandardAdapter.cs
- BrowserCapabilitiesCompiler.cs
- RootBuilder.cs
- ValidationErrorCollection.cs
- XmlDataImplementation.cs
- RenderingBiasValidation.cs
- InputBinder.cs
- Int16AnimationUsingKeyFrames.cs
- EditCommandColumn.cs
- UnknownBitmapDecoder.cs
- DataKeyCollection.cs
- Utils.cs
- RuntimeIdentifierPropertyAttribute.cs
- BasicHttpMessageSecurity.cs
- HttpCacheVary.cs
- ProfileGroupSettings.cs
- ObfuscateAssemblyAttribute.cs
- SaveFileDialog.cs
- SecurityCriticalDataForSet.cs
- WebResponse.cs
- SerializationObjectManager.cs
- DbConnectionPoolIdentity.cs
- PersonalizablePropertyEntry.cs
- IIS7UserPrincipal.cs
- X509Certificate2.cs
- DataTableClearEvent.cs
- XPathException.cs
- ThumbButtonInfoCollection.cs
- LazyTextWriterCreator.cs
- ProtocolsSection.cs
- XmlBinaryReader.cs
- ColorMap.cs
- DrawingAttributeSerializer.cs
- FileDialog.cs
- ImageDrawing.cs
- Control.cs
- HtmlInputReset.cs
- PkcsUtils.cs
- Internal.cs
- RangeValuePattern.cs
- EditorPartChrome.cs
- DataGridViewColumnStateChangedEventArgs.cs
- InstanceDataCollection.cs
- ISO2022Encoding.cs
- DPCustomTypeDescriptor.cs
- QilIterator.cs
- TimeSpanOrInfiniteConverter.cs
- StringConverter.cs
- TypeConverterAttribute.cs
- HtmlPhoneCallAdapter.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- PackWebRequestFactory.cs
- Membership.cs
- PropertyEmitterBase.cs
- EntityViewGenerationConstants.cs
- RuntimeComponentFilter.cs
- IgnoreDeviceFilterElement.cs
- LeafCellTreeNode.cs