Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewUpdateEventArgs.cs / 1305376 / 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; ////// 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; ////// 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
- TableLayoutSettings.cs
- CounterSampleCalculator.cs
- WebControl.cs
- XmlSchemaProviderAttribute.cs
- HttpsHostedTransportConfiguration.cs
- Merger.cs
- LogWriteRestartAreaState.cs
- DesignTimeVisibleAttribute.cs
- RequestTimeoutManager.cs
- RectangleHotSpot.cs
- PopupControlService.cs
- HtmlInputImage.cs
- XPathNavigatorKeyComparer.cs
- DtcInterfaces.cs
- ThreadAbortException.cs
- CodeSnippetStatement.cs
- RightsManagementProvider.cs
- GatewayIPAddressInformationCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- WSIdentityFaultException.cs
- TranslateTransform.cs
- MLangCodePageEncoding.cs
- FixedLineResult.cs
- PrintPreviewDialog.cs
- TaskFormBase.cs
- ToolStripItemDesigner.cs
- GeometryHitTestParameters.cs
- PageCopyCount.cs
- CfgParser.cs
- DataGridColumnCollectionEditor.cs
- InvalidateEvent.cs
- UidManager.cs
- PropertyDescriptorGridEntry.cs
- ConfigurationFileMap.cs
- ListViewGroupItemCollection.cs
- TraceData.cs
- VersionValidator.cs
- X509UI.cs
- ServiceDeploymentInfo.cs
- GenericUriParser.cs
- TimerElapsedEvenArgs.cs
- QueryStack.cs
- ButtonBase.cs
- ManifestSignatureInformation.cs
- SizeIndependentAnimationStorage.cs
- XmlAttributeCache.cs
- HandlerBase.cs
- ListComponentEditor.cs
- SelectionUIService.cs
- TableColumnCollection.cs
- CalendarDataBindingHandler.cs
- _FixedSizeReader.cs
- TableItemProviderWrapper.cs
- MD5.cs
- BeginStoryboard.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- TextPointer.cs
- EntitySqlQueryCacheEntry.cs
- EditingCommands.cs
- UserNameSecurityTokenAuthenticator.cs
- XmlArrayItemAttribute.cs
- FixUp.cs
- XmlSiteMapProvider.cs
- ProtectedProviderSettings.cs
- tibetanshape.cs
- HttpRuntime.cs
- EntityCollection.cs
- KerberosSecurityTokenParameters.cs
- TimeSpanConverter.cs
- DesignerLoader.cs
- StringCollection.cs
- XmlTextEncoder.cs
- ThumbButtonInfo.cs
- Classification.cs
- QueryAccessibilityHelpEvent.cs
- ImageClickEventArgs.cs
- HeaderElement.cs
- PersonalizationProviderCollection.cs
- FrameDimension.cs
- BitmapEffectvisualstate.cs
- AnnotationComponentChooser.cs
- EventLogEntryCollection.cs
- SQLBinaryStorage.cs
- CodeSubDirectoriesCollection.cs
- SamlSerializer.cs
- BuildManager.cs
- HasCopySemanticsAttribute.cs
- ThreadLocal.cs
- TableItemPattern.cs
- WriterOutput.cs
- PowerEase.cs
- AssemblyNameProxy.cs
- WsdlEndpointConversionContext.cs
- DataRow.cs
- XsdBuilder.cs
- RNGCryptoServiceProvider.cs
- SafeNativeMethodsCLR.cs
- NegotiateStream.cs
- EraserBehavior.cs
- MetadataPropertyAttribute.cs