Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MainMenu.cs
- NodeLabelEditEvent.cs
- PageHandlerFactory.cs
- ContainerParaClient.cs
- InfoCardKeyedHashAlgorithm.cs
- UpdatePanelTriggerCollection.cs
- TextureBrush.cs
- DefaultSerializationProviderAttribute.cs
- Query.cs
- CuspData.cs
- TreeNodeEventArgs.cs
- Renderer.cs
- ContractMapping.cs
- DataGridColumnCollection.cs
- UnsafeNativeMethodsTablet.cs
- HelpEvent.cs
- NullReferenceException.cs
- AdapterDictionary.cs
- ColorBlend.cs
- Vector.cs
- TypeUtil.cs
- DispatcherTimer.cs
- ObfuscateAssemblyAttribute.cs
- safelinkcollection.cs
- LinqDataSourceDisposeEventArgs.cs
- Rfc2898DeriveBytes.cs
- StylusTip.cs
- SafeNativeMethods.cs
- UrlMappingCollection.cs
- HttpContextWrapper.cs
- RegisteredArrayDeclaration.cs
- SemanticResultKey.cs
- DataSourceSelectArguments.cs
- RegexGroupCollection.cs
- ForeignKeyFactory.cs
- RoleGroup.cs
- WebServiceMethodData.cs
- PropertiesTab.cs
- DesignerLabelAdapter.cs
- WizardStepBase.cs
- exports.cs
- CopyAction.cs
- StagingAreaInputItem.cs
- ZipIOExtraFieldElement.cs
- HostingPreferredMapPath.cs
- SectionVisual.cs
- httpapplicationstate.cs
- Geometry3D.cs
- HuffCodec.cs
- namescope.cs
- CopyAction.cs
- DBNull.cs
- EtwTrace.cs
- SessionStateSection.cs
- OleDbReferenceCollection.cs
- CreateDataSourceDialog.cs
- Root.cs
- RankException.cs
- EndpointNotFoundException.cs
- SoapIncludeAttribute.cs
- DataGridViewSortCompareEventArgs.cs
- ParsedAttributeCollection.cs
- DetailsViewModeEventArgs.cs
- QuinticEase.cs
- MetadataArtifactLoader.cs
- CheckBoxFlatAdapter.cs
- StyleModeStack.cs
- DbMetaDataCollectionNames.cs
- securitycriticaldata.cs
- ClientConfigurationHost.cs
- BadImageFormatException.cs
- UTF8Encoding.cs
- SymmetricKeyWrap.cs
- CodeObject.cs
- WebPartManagerDesigner.cs
- MemoryMappedView.cs
- MailDefinition.cs
- BinaryExpression.cs
- MarkupExtensionReturnTypeAttribute.cs
- SamlDoNotCacheCondition.cs
- SynchronizingStream.cs
- ExceptionUtil.cs
- KnownBoxes.cs
- DebuggerAttributes.cs
- ReadWriteSpinLock.cs
- LogicalExpressionTypeConverter.cs
- ProfileGroupSettingsCollection.cs
- GeneralTransform2DTo3D.cs
- ExecutedRoutedEventArgs.cs
- XmlNodeChangedEventArgs.cs
- ExpressionDumper.cs
- FileLevelControlBuilderAttribute.cs
- CodeVariableDeclarationStatement.cs
- TableLayoutSettings.cs
- RoleBoolean.cs
- ObjectSecurity.cs
- CommentAction.cs
- XPathDocumentIterator.cs
- DataObjectSettingDataEventArgs.cs
- HandleRef.cs