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
- RegistrationServices.cs
- MatrixAnimationUsingKeyFrames.cs
- XamlInt32CollectionSerializer.cs
- HtmlInputImage.cs
- XpsDocument.cs
- EmptyStringExpandableObjectConverter.cs
- VariableExpressionConverter.cs
- ChineseLunisolarCalendar.cs
- RegexRunnerFactory.cs
- _ChunkParse.cs
- DbConnectionInternal.cs
- ConcurrencyMode.cs
- XmlLanguage.cs
- WebFaultClientMessageInspector.cs
- MobileCategoryAttribute.cs
- ActiveXSite.cs
- TextModifierScope.cs
- CheckedListBox.cs
- Serializer.cs
- LayoutEditorPart.cs
- TouchFrameEventArgs.cs
- TypeExtension.cs
- SectionRecord.cs
- ApplicationId.cs
- FileLogRecordStream.cs
- xdrvalidator.cs
- XmlILIndex.cs
- __FastResourceComparer.cs
- BamlReader.cs
- TrustLevel.cs
- TextMessageEncodingElement.cs
- ConfigXmlWhitespace.cs
- SqlCommandSet.cs
- OracleCommand.cs
- SocketElement.cs
- SupportsPreviewControlAttribute.cs
- FontDialog.cs
- RsaSecurityTokenAuthenticator.cs
- validation.cs
- PatternMatchRules.cs
- LinqToSqlWrapper.cs
- X509ChainPolicy.cs
- XmlDomTextWriter.cs
- SignalGate.cs
- InvalidEnumArgumentException.cs
- COM2ColorConverter.cs
- Wizard.cs
- XmlExceptionHelper.cs
- StandardCommands.cs
- Relationship.cs
- HostingEnvironment.cs
- _ListenerAsyncResult.cs
- CursorEditor.cs
- LineSegment.cs
- RNGCryptoServiceProvider.cs
- PerformanceCounterPermission.cs
- Currency.cs
- XamlBuildTaskServices.cs
- InvalidCommandTreeException.cs
- TheQuery.cs
- AutomationProperties.cs
- DrawingBrush.cs
- RsaSecurityKey.cs
- RolePrincipal.cs
- NativeCppClassAttribute.cs
- _BaseOverlappedAsyncResult.cs
- CardSpaceException.cs
- ExpressionVisitor.cs
- Size3D.cs
- shaperfactoryquerycachekey.cs
- ToolBarPanel.cs
- XPathNodeIterator.cs
- MSAAEventDispatcher.cs
- ActiveXHost.cs
- BitSet.cs
- HtmlTableRowCollection.cs
- RegexMatchCollection.cs
- InstanceHandle.cs
- FrameworkPropertyMetadata.cs
- Menu.cs
- DrawingImage.cs
- UnionCqlBlock.cs
- PathSegmentCollection.cs
- FormatSettings.cs
- HashCodeCombiner.cs
- ServiceBuildProvider.cs
- InterleavedZipPartStream.cs
- DataGridViewColumnCollectionEditor.cs
- FixedSOMTable.cs
- RoleManagerEventArgs.cs
- TranslateTransform.cs
- Set.cs
- CodeThrowExceptionStatement.cs
- SharedConnectionInfo.cs
- ScrollContentPresenter.cs
- SymLanguageType.cs
- NumericPagerField.cs
- XPathSelectionIterator.cs
- SimpleTextLine.cs