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
- HttpContextServiceHost.cs
- TemplateComponentConnector.cs
- InkCanvasSelectionAdorner.cs
- MetadataFile.cs
- WebPartEditorOkVerb.cs
- MultilineStringEditor.cs
- MessageBox.cs
- AccessDataSource.cs
- RequestCacheManager.cs
- XmlSchemaAny.cs
- GenericEnumConverter.cs
- NavigatorInput.cs
- FormClosingEvent.cs
- ConnectionStringEditor.cs
- HttpHeaderCollection.cs
- NavigationCommands.cs
- SettingsPropertyNotFoundException.cs
- TextEditorSpelling.cs
- MissingMethodException.cs
- InternalBufferOverflowException.cs
- ComponentManagerBroker.cs
- PtsPage.cs
- TrackingProfileCache.cs
- ComponentEvent.cs
- SizeConverter.cs
- TextTreeExtractElementUndoUnit.cs
- DataGridAutomationPeer.cs
- OLEDB_Util.cs
- XmlSchemaInfo.cs
- CheckBoxField.cs
- Maps.cs
- BinaryConverter.cs
- SqlInternalConnectionTds.cs
- RemotingSurrogateSelector.cs
- WebMessageEncoderFactory.cs
- HostUtils.cs
- LassoSelectionBehavior.cs
- DisplayMemberTemplateSelector.cs
- ModelVisual3D.cs
- HijriCalendar.cs
- TimeIntervalCollection.cs
- Collection.cs
- FixedSOMElement.cs
- OutArgument.cs
- DockingAttribute.cs
- DbProviderFactoriesConfigurationHandler.cs
- ArraySortHelper.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TdsParameterSetter.cs
- RegisteredScript.cs
- CompoundFileStreamReference.cs
- ScrollContentPresenter.cs
- DocComment.cs
- ObjRef.cs
- ViewBox.cs
- SimpleLine.cs
- FilterQuery.cs
- EventLogEntryCollection.cs
- CqlErrorHelper.cs
- ProxyHelper.cs
- XmlBinaryReader.cs
- OleDbSchemaGuid.cs
- EarlyBoundInfo.cs
- COM2PropertyBuilderUITypeEditor.cs
- TextWriterTraceListener.cs
- GPRECT.cs
- ElementMarkupObject.cs
- TableDetailsRow.cs
- IntegerValidatorAttribute.cs
- EntityDataSource.cs
- Win32MouseDevice.cs
- ResourceProperty.cs
- IImplicitResourceProvider.cs
- SoapUnknownHeader.cs
- URLAttribute.cs
- DbProviderSpecificTypePropertyAttribute.cs
- MarshalDirectiveException.cs
- UnmanagedMemoryStream.cs
- DrawingCollection.cs
- NullRuntimeConfig.cs
- DataSourceCache.cs
- _LocalDataStoreMgr.cs
- FilterFactory.cs
- Rotation3DAnimationBase.cs
- ProxyWebPart.cs
- XmlObjectSerializer.cs
- EventLogEntryCollection.cs
- StrokeSerializer.cs
- RNGCryptoServiceProvider.cs
- SqlNodeAnnotation.cs
- PageContentCollection.cs
- RegisteredExpandoAttribute.cs
- CanonicalizationDriver.cs
- SafeRightsManagementQueryHandle.cs
- Int32Rect.cs
- WebConfigurationManager.cs
- SafeBitVector32.cs
- SmiEventSink_DeferedProcessing.cs
- StatusBarDrawItemEvent.cs
- HttpCacheVaryByContentEncodings.cs