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 / 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
- StyleSheetComponentEditor.cs
- BitmapEffectInput.cs
- TaskResultSetter.cs
- PasswordTextContainer.cs
- QueryableDataSourceView.cs
- BindingList.cs
- RouteData.cs
- DataGridViewRowsRemovedEventArgs.cs
- ValidatedControlConverter.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- ResourceDescriptionAttribute.cs
- Setter.cs
- GlyphCollection.cs
- PerformanceCounterPermission.cs
- XmlWrappingReader.cs
- Color.cs
- _HTTPDateParse.cs
- ReaderContextStackData.cs
- TransformDescriptor.cs
- IndividualDeviceConfig.cs
- BlobPersonalizationState.cs
- MatrixAnimationUsingPath.cs
- ParseHttpDate.cs
- Type.cs
- ObjectCloneHelper.cs
- QueryExpr.cs
- CodeTypeParameterCollection.cs
- DetailsViewPagerRow.cs
- MyContact.cs
- PenCursorManager.cs
- BinarySerializer.cs
- EpmSyndicationContentSerializer.cs
- MSAANativeProvider.cs
- DateTimeFormat.cs
- BezierSegment.cs
- OpenTypeLayoutCache.cs
- ListItemParagraph.cs
- RealProxy.cs
- Crc32Helper.cs
- XmlSchemaException.cs
- Label.cs
- PaperSize.cs
- AutomationElement.cs
- MultiByteCodec.cs
- AutoCompleteStringCollection.cs
- ChildTable.cs
- FormCollection.cs
- WindowsToolbar.cs
- TemplateContentLoader.cs
- IntAverageAggregationOperator.cs
- TextElement.cs
- FakeModelPropertyImpl.cs
- ObjectPropertyMapping.cs
- QueryOpeningEnumerator.cs
- SmtpMail.cs
- ObjectResult.cs
- ConfigurationPropertyAttribute.cs
- AlternationConverter.cs
- ProgressBarAutomationPeer.cs
- Html32TextWriter.cs
- NullPackagingPolicy.cs
- QueryOptionExpression.cs
- WindowsFormsSectionHandler.cs
- HeaderCollection.cs
- WsdlWriter.cs
- BehaviorDragDropEventArgs.cs
- RadioButtonList.cs
- BinHexEncoding.cs
- Site.cs
- PathParser.cs
- TdsParserSessionPool.cs
- TableAutomationPeer.cs
- X509InitiatorCertificateClientElement.cs
- CleanUpVirtualizedItemEventArgs.cs
- RuntimeConfigurationRecord.cs
- ListItemViewControl.cs
- EntityDataReader.cs
- FtpCachePolicyElement.cs
- XmlParserContext.cs
- CommentAction.cs
- AssemblyCollection.cs
- Adorner.cs
- GroupBoxAutomationPeer.cs
- Operator.cs
- ParamArrayAttribute.cs
- SignedInfo.cs
- TextMetrics.cs
- XmlDocumentType.cs
- DescendantQuery.cs
- XmlDataSourceNodeDescriptor.cs
- EntityCommandCompilationException.cs
- MessageQueueAccessControlEntry.cs
- FormParameter.cs
- UserPersonalizationStateInfo.cs
- FileDialog.cs
- Aggregates.cs
- PrivilegeNotHeldException.cs
- SqlDataReaderSmi.cs
- NavigationWindowAutomationPeer.cs
- FileDialog.cs