Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewUpdateEventArgs.cs / 1 / GridViewUpdateEventArgs.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 GridViewUpdateEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public GridViewUpdateEventArgs(int rowIndex) : base(false) { this._rowIndex = 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 updated row values. This property is read-only. ////// public IOrderedDictionary NewValues { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } ///Gets a OrderedDictionary to populate with updated row values. This property is read-only. ////// public IOrderedDictionary OldValues { get { if (_oldValues == null) { _oldValues = new OrderedDictionary(); } return _oldValues; } } ///Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ////// public int RowIndex { get { return _rowIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the int argument to the command posted to the ///. 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 GridViewUpdateEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public GridViewUpdateEventArgs(int rowIndex) : base(false) { this._rowIndex = 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 updated row values. This property is read-only. ////// public IOrderedDictionary NewValues { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } ///Gets a OrderedDictionary to populate with updated row values. This property is read-only. ////// public IOrderedDictionary OldValues { get { if (_oldValues == null) { _oldValues = new OrderedDictionary(); } return _oldValues; } } ///Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ////// public int RowIndex { get { return _rowIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the int argument to the command posted to the ///. This property is read-only.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlExtensionFunction.cs
- GuidConverter.cs
- SafeEventHandle.cs
- CacheOutputQuery.cs
- ConfigXmlAttribute.cs
- EmptyEnumerator.cs
- CachedPathData.cs
- XsltException.cs
- XmlQuerySequence.cs
- XmlReader.cs
- XmlDataImplementation.cs
- DoubleAnimationBase.cs
- Identifier.cs
- QuadraticBezierSegment.cs
- SingleSelectRootGridEntry.cs
- WebBrowserBase.cs
- EncoderFallback.cs
- ListBox.cs
- OleServicesContext.cs
- XpsLiterals.cs
- DefaultAsyncDataDispatcher.cs
- ObjectView.cs
- MetadataHelper.cs
- DiscreteKeyFrames.cs
- EmptyCollection.cs
- CodePageUtils.cs
- DataGridViewRowHeaderCell.cs
- ObjectToken.cs
- HttpNamespaceReservationInstallComponent.cs
- GuidTagList.cs
- DifferencingCollection.cs
- UserThread.cs
- NativeCppClassAttribute.cs
- MediaElementAutomationPeer.cs
- AccessDataSourceView.cs
- WindowsListViewItemCheckBox.cs
- ControlValuePropertyAttribute.cs
- RectAnimationBase.cs
- EncoderExceptionFallback.cs
- IdleTimeoutMonitor.cs
- PermissionListSet.cs
- ILGenerator.cs
- PriorityItem.cs
- XmlDeclaration.cs
- EntityObject.cs
- TranslateTransform.cs
- VersionPair.cs
- PtsContext.cs
- DragDrop.cs
- NameTable.cs
- X509CertificateRecipientServiceCredential.cs
- MenuTracker.cs
- Cursor.cs
- WizardPanel.cs
- Int32KeyFrameCollection.cs
- IntSecurity.cs
- LabelAutomationPeer.cs
- TraceUtility.cs
- EntityTemplateFactory.cs
- SystemPens.cs
- DiagnosticsElement.cs
- Int32Converter.cs
- ArrayConverter.cs
- ColumnTypeConverter.cs
- _ProxyRegBlob.cs
- WebSysDisplayNameAttribute.cs
- DBCommand.cs
- ApplicationBuildProvider.cs
- errorpatternmatcher.cs
- ToolStripItemCollection.cs
- TransformationRules.cs
- JournalEntry.cs
- FileAuthorizationModule.cs
- Viewport2DVisual3D.cs
- SafeHandles.cs
- PropertyGroupDescription.cs
- ImageListImageEditor.cs
- DynamicDocumentPaginator.cs
- ConfigurationElementProperty.cs
- AnnotationAdorner.cs
- ScaleTransform.cs
- BinaryFormatter.cs
- DataServiceQueryProvider.cs
- ProcessThread.cs
- DCSafeHandle.cs
- VirtualPath.cs
- EndOfStreamException.cs
- TrailingSpaceComparer.cs
- XmlLanguageConverter.cs
- ContentFileHelper.cs
- SmtpFailedRecipientsException.cs
- InvokeBase.cs
- CoordinationService.cs
- DbXmlEnabledProviderManifest.cs
- ReferencedAssembly.cs
- VerificationAttribute.cs
- CrossSiteScriptingValidation.cs
- JumpList.cs
- ClientUrlResolverWrapper.cs
- RefreshPropertiesAttribute.cs