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
- DbXmlEnabledProviderManifest.cs
- infer.cs
- XmlAttributeOverrides.cs
- DataGridViewRowsRemovedEventArgs.cs
- LambdaCompiler.Expressions.cs
- CountdownEvent.cs
- ScriptResourceInfo.cs
- RelationshipEntry.cs
- TableRow.cs
- SafeEventHandle.cs
- ClientSession.cs
- PeerChannelFactory.cs
- StateChangeEvent.cs
- DatatypeImplementation.cs
- MediaPlayer.cs
- IntSecurity.cs
- AdornerLayer.cs
- StrongTypingException.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- TextTreeText.cs
- AcceleratedTokenProvider.cs
- ButtonField.cs
- WebPartConnection.cs
- GridToolTip.cs
- Baml6ConstructorInfo.cs
- PseudoWebRequest.cs
- WarningException.cs
- ComplexBindingPropertiesAttribute.cs
- FigureParaClient.cs
- TypeReference.cs
- RelationalExpressions.cs
- RelatedImageListAttribute.cs
- PrimitiveSchema.cs
- AssemblyNameUtility.cs
- TokenBasedSet.cs
- ImageUrlEditor.cs
- XmlSchemaSubstitutionGroup.cs
- ClientSettingsSection.cs
- DateBoldEvent.cs
- XmlIlTypeHelper.cs
- TemplateBindingExtension.cs
- CultureInfoConverter.cs
- EmptyElement.cs
- PolyLineSegment.cs
- TdsEnums.cs
- MexNamedPipeBindingCollectionElement.cs
- EnumValidator.cs
- StyleTypedPropertyAttribute.cs
- MissingFieldException.cs
- FreezableCollection.cs
- XPathMessageFilterElementComparer.cs
- TextRunTypographyProperties.cs
- counter.cs
- SystemIPGlobalStatistics.cs
- LeaseManager.cs
- WorkflowTimerService.cs
- CrossSiteScriptingValidation.cs
- RenderDataDrawingContext.cs
- XmlSchemaElement.cs
- _KerberosClient.cs
- Point4DConverter.cs
- HttpApplicationFactory.cs
- CopyAction.cs
- CompositeKey.cs
- TreeNode.cs
- EntityAdapter.cs
- ObjectItemCollection.cs
- EnumerableRowCollectionExtensions.cs
- PropertyCondition.cs
- SemaphoreFullException.cs
- ParameterModifier.cs
- RC2CryptoServiceProvider.cs
- DetailsViewCommandEventArgs.cs
- References.cs
- SqlDataSourceSelectingEventArgs.cs
- UInt64Converter.cs
- SystemColorTracker.cs
- SqlDependencyUtils.cs
- MsmqInputMessage.cs
- CachedBitmap.cs
- DrawToolTipEventArgs.cs
- HttpRequestBase.cs
- ClientFormsAuthenticationCredentials.cs
- SrgsDocument.cs
- JoinQueryOperator.cs
- DirectionalLight.cs
- TextBoxRenderer.cs
- ObjectHandle.cs
- StrongNameKeyPair.cs
- WebBrowserPermission.cs
- SystemIPGlobalStatistics.cs
- EnumCodeDomSerializer.cs
- DeclarativeCatalogPart.cs
- InfoCardPolicy.cs
- ChildDocumentBlock.cs
- WorkflowExecutor.cs
- RightsManagementEncryptionTransform.cs
- LoadItemsEventArgs.cs
- OdbcConnectionPoolProviderInfo.cs
- NavigationEventArgs.cs