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
- PropertyBuilder.cs
- Dump.cs
- DirectoryLocalQuery.cs
- FrameworkContentElement.cs
- BulletedListEventArgs.cs
- BaseTemplateParser.cs
- HebrewCalendar.cs
- TypedElement.cs
- FixedBufferAttribute.cs
- SqlServer2KCompatibilityCheck.cs
- HandlerFactoryCache.cs
- AuthenticationModuleElement.cs
- AppearanceEditorPart.cs
- DeleteHelper.cs
- ProxyDataContractResolver.cs
- TriggerCollection.cs
- HandlerMappingMemo.cs
- VarRefManager.cs
- CustomValidator.cs
- HuffmanTree.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- PathStreamGeometryContext.cs
- validation.cs
- PartDesigner.cs
- EncoderExceptionFallback.cs
- NestPullup.cs
- OleDbStruct.cs
- MimePart.cs
- PanelDesigner.cs
- SafeThreadHandle.cs
- MailSettingsSection.cs
- UnionCodeGroup.cs
- BinaryMethodMessage.cs
- GatewayDefinition.cs
- PolyLineSegmentFigureLogic.cs
- SchemaCollectionPreprocessor.cs
- ObjectConverter.cs
- RootBrowserWindowAutomationPeer.cs
- DiscreteKeyFrames.cs
- Hashtable.cs
- OleServicesContext.cs
- OleDbMetaDataFactory.cs
- HttpApplicationFactory.cs
- SimpleType.cs
- SqlAggregateChecker.cs
- OleDbInfoMessageEvent.cs
- PickBranchDesigner.xaml.cs
- Security.cs
- TextEditorMouse.cs
- Focus.cs
- PauseStoryboard.cs
- DynamicRenderer.cs
- PageParser.cs
- DatagridviewDisplayedBandsData.cs
- PageFunction.cs
- RegistryConfigurationProvider.cs
- BitmapMetadataEnumerator.cs
- BuildProvidersCompiler.cs
- SchemaImporterExtensionElementCollection.cs
- QueryExpr.cs
- LocationEnvironment.cs
- StoreItemCollection.Loader.cs
- TraceHandler.cs
- ManipulationDevice.cs
- SqlFacetAttribute.cs
- CancellationHandler.cs
- DesignTimeTemplateParser.cs
- FtpCachePolicyElement.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WebDescriptionAttribute.cs
- ClientApiGenerator.cs
- GlyphInfoList.cs
- ADConnectionHelper.cs
- UnmanagedMemoryAccessor.cs
- PeerNameResolver.cs
- AlphabetConverter.cs
- ReverseInheritProperty.cs
- DynamicActivityXamlReader.cs
- ChameleonKey.cs
- HuffmanTree.cs
- BindingWorker.cs
- TextEditorThreadLocalStore.cs
- DataGridLinkButton.cs
- VisualBrush.cs
- Graph.cs
- RNGCryptoServiceProvider.cs
- CacheSection.cs
- ListControlConvertEventArgs.cs
- WmiEventSink.cs
- CacheEntry.cs
- CountAggregationOperator.cs
- GregorianCalendarHelper.cs
- Rijndael.cs
- LazyTextWriterCreator.cs
- ScrollChangedEventArgs.cs
- GC.cs
- DataGridViewCellCollection.cs
- ObjectItemNoOpAssemblyLoader.cs
- ListDictionaryInternal.cs
- IFormattable.cs