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
- WorkflowQueue.cs
- FacetValueContainer.cs
- DataGridViewTextBoxCell.cs
- SystemUnicastIPAddressInformation.cs
- ColumnHeaderConverter.cs
- KeyFrames.cs
- Vector3DValueSerializer.cs
- KerberosSecurityTokenProvider.cs
- WebPartConnectionsConfigureVerb.cs
- SamlSubject.cs
- AppManager.cs
- DefaultPerformanceCounters.cs
- DrawingImage.cs
- AdRotator.cs
- Validator.cs
- LabelInfo.cs
- SqlDataSource.cs
- RowSpanVector.cs
- Constraint.cs
- IFormattable.cs
- TextBoxAutomationPeer.cs
- TextServicesHost.cs
- DotAtomReader.cs
- HtmlEncodedRawTextWriter.cs
- ValueExpressions.cs
- MediaElementAutomationPeer.cs
- SafeViewOfFileHandle.cs
- Rule.cs
- ErrorTableItemStyle.cs
- CAGDesigner.cs
- WorkflowStateRollbackService.cs
- TraceSource.cs
- ParallelTimeline.cs
- TypeBuilder.cs
- OleAutBinder.cs
- ItemsPresenter.cs
- RoutingConfiguration.cs
- LineMetrics.cs
- XsdDateTime.cs
- DoubleKeyFrameCollection.cs
- ToolStripContentPanel.cs
- AspNetSynchronizationContext.cs
- PnrpPermission.cs
- ResourceDescriptionAttribute.cs
- ADMembershipProvider.cs
- RecognizerStateChangedEventArgs.cs
- NavigationHelper.cs
- BaseTransportHeaders.cs
- DataGridViewCellLinkedList.cs
- MenuRenderer.cs
- CodeConditionStatement.cs
- TextEndOfParagraph.cs
- StateDesigner.CommentLayoutGlyph.cs
- PostBackTrigger.cs
- ReflectEventDescriptor.cs
- WindowVisualStateTracker.cs
- SwitchDesigner.xaml.cs
- counter.cs
- DiscoveryClientChannelBase.cs
- DragSelectionMessageFilter.cs
- UrlEncodedParameterWriter.cs
- Figure.cs
- TimeSpanConverter.cs
- TypeTypeConverter.cs
- XmlNodeReader.cs
- EventLogQuery.cs
- DirectoryObjectSecurity.cs
- DiffuseMaterial.cs
- XsltArgumentList.cs
- CapabilitiesState.cs
- SqlProfileProvider.cs
- ObjectAnimationBase.cs
- XamlPathDataSerializer.cs
- XmlAnyElementAttribute.cs
- DataGridItemEventArgs.cs
- EditorZone.cs
- PathFigure.cs
- TrustExchangeException.cs
- PartitionResolver.cs
- EntitySqlQueryCacheKey.cs
- InputLanguageSource.cs
- RegexWorker.cs
- WpfPayload.cs
- WebPartTransformer.cs
- StructuredTypeEmitter.cs
- Debugger.cs
- ColorTransformHelper.cs
- ClientApiGenerator.cs
- ScaleTransform.cs
- Paragraph.cs
- FileUpload.cs
- Stacktrace.cs
- MetadataHelper.cs
- StreamReader.cs
- WorkflowOwnershipException.cs
- ButtonFieldBase.cs
- ActivationProxy.cs
- ApplicationSettingsBase.cs
- Rect3DValueSerializer.cs
- TextSpan.cs