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 / 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
- OlePropertyStructs.cs
- TriggerAction.cs
- SQLInt64.cs
- QuadraticBezierSegment.cs
- FileEnumerator.cs
- ApplicationException.cs
- ContentWrapperAttribute.cs
- XmlBoundElement.cs
- PathSegmentCollection.cs
- Pen.cs
- SettingsSavedEventArgs.cs
- DoubleKeyFrameCollection.cs
- MD5.cs
- DocumentSequence.cs
- RuntimeVariableList.cs
- EntityParameterCollection.cs
- Environment.cs
- TypeElementCollection.cs
- PixelFormat.cs
- EntityTypeBase.cs
- BindingNavigator.cs
- XmlQueryType.cs
- BinaryFormatterSinks.cs
- ChannelManager.cs
- XmlHierarchicalEnumerable.cs
- CodeDomConfigurationHandler.cs
- StorageAssociationTypeMapping.cs
- PropertyTab.cs
- ScriptRef.cs
- XamlBrushSerializer.cs
- Main.cs
- Exceptions.cs
- HostingEnvironmentWrapper.cs
- Converter.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- IsolatedStoragePermission.cs
- DecimalSumAggregationOperator.cs
- SqlColumnizer.cs
- VBIdentifierNameEditor.cs
- RepeatButton.cs
- ProfileGroupSettingsCollection.cs
- Visual3D.cs
- RegisteredHiddenField.cs
- ISAPIApplicationHost.cs
- Logging.cs
- WebServiceFaultDesigner.cs
- VideoDrawing.cs
- Listbox.cs
- FullTextLine.cs
- DescendantQuery.cs
- DetailsViewModeEventArgs.cs
- IsolatedStorageException.cs
- PolyBezierSegment.cs
- PersistenceTypeAttribute.cs
- embossbitmapeffect.cs
- ISCIIEncoding.cs
- XmlProcessingInstruction.cs
- SoapIgnoreAttribute.cs
- ExtendedTransformFactory.cs
- HttpBindingExtension.cs
- BitmapDecoder.cs
- SmtpCommands.cs
- UpnEndpointIdentityExtension.cs
- XmlSecureResolver.cs
- HttpDebugHandler.cs
- BaseTypeViewSchema.cs
- ResetableIterator.cs
- ReadOnlyDataSource.cs
- ContainerParaClient.cs
- WindowsStreamSecurityUpgradeProvider.cs
- ChangeBlockUndoRecord.cs
- UIElementAutomationPeer.cs
- GlyphingCache.cs
- IisTraceWebEventProvider.cs
- PackageRelationshipCollection.cs
- QueueSurrogate.cs
- CompiledRegexRunnerFactory.cs
- DetailsViewCommandEventArgs.cs
- Utils.cs
- RefreshPropertiesAttribute.cs
- InfoCardArgumentException.cs
- MappingSource.cs
- DbConnectionPoolGroupProviderInfo.cs
- PropertyChangedEventManager.cs
- QfeChecker.cs
- IListConverters.cs
- PersonalizationDictionary.cs
- CompiledQuery.cs
- SqlDataSourceConfigureSelectPanel.cs
- login.cs
- ScrollPatternIdentifiers.cs
- TileBrush.cs
- BinaryMethodMessage.cs
- DynamicExpression.cs
- GetMemberBinder.cs
- CodeGenerator.cs
- RouteTable.cs
- IdentifierElement.cs
- SingleObjectCollection.cs
- ColorMap.cs