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
- DataGridBeginningEditEventArgs.cs
- TypeSystem.cs
- DbParameterCollection.cs
- EntityCommandDefinition.cs
- ProcessModelInfo.cs
- ISAPIRuntime.cs
- AttributeCollection.cs
- TextModifier.cs
- ColumnCollection.cs
- SerialStream.cs
- ItemContainerProviderWrapper.cs
- DataPager.cs
- ControlCachePolicy.cs
- SwitchAttribute.cs
- NonPrimarySelectionGlyph.cs
- SafePointer.cs
- FileSystemEnumerable.cs
- WindowsTab.cs
- DocumentGridContextMenu.cs
- NamedPipeAppDomainProtocolHandler.cs
- PublisherMembershipCondition.cs
- InvokeBase.cs
- TextElementAutomationPeer.cs
- ImageResources.Designer.cs
- EmptyElement.cs
- TraceSwitch.cs
- SpanIndex.cs
- WebBaseEventKeyComparer.cs
- DataGridParentRows.cs
- DES.cs
- ExpressionPrefixAttribute.cs
- RadialGradientBrush.cs
- PowerModeChangedEventArgs.cs
- TitleStyle.cs
- UshortList2.cs
- SessionEndingCancelEventArgs.cs
- DiscoveryDocumentSerializer.cs
- Rijndael.cs
- WindowsGraphics2.cs
- HMAC.cs
- PartialList.cs
- RegionData.cs
- SiteMapNodeItemEventArgs.cs
- ActivityInterfaces.cs
- HttpClientCertificate.cs
- Button.cs
- DeferredBinaryDeserializerExtension.cs
- PreloadedPackages.cs
- DATA_BLOB.cs
- RuntimeConfigLKG.cs
- ReadOnlyMetadataCollection.cs
- HiddenField.cs
- TreeNode.cs
- Canvas.cs
- GPRECTF.cs
- ScriptHandlerFactory.cs
- XmlSchemas.cs
- DeriveBytes.cs
- DataSet.cs
- FileAuthorizationModule.cs
- DataGridViewButtonCell.cs
- SafeNativeMethods.cs
- NotificationContext.cs
- ContentTextAutomationPeer.cs
- SchemaMerger.cs
- WebEvents.cs
- CollectionConverter.cs
- ToolboxDataAttribute.cs
- Configuration.cs
- DataGridSortingEventArgs.cs
- MemberDomainMap.cs
- AnnotationComponentChooser.cs
- Command.cs
- CompositeKey.cs
- HasCopySemanticsAttribute.cs
- InvokeGenerator.cs
- ServicePoint.cs
- DrawingContextFlattener.cs
- WebPartMinimizeVerb.cs
- GroupAggregateExpr.cs
- CodeDOMProvider.cs
- XmlObjectSerializerWriteContextComplex.cs
- SchemaImporter.cs
- ContainerUtilities.cs
- DoubleLinkList.cs
- EventKeyword.cs
- RootProfilePropertySettingsCollection.cs
- SID.cs
- SpecialFolderEnumConverter.cs
- LocationReferenceValue.cs
- CompilerInfo.cs
- InvalidOperationException.cs
- APCustomTypeDescriptor.cs
- TablePattern.cs
- QueryExpr.cs
- DocumentViewerAutomationPeer.cs
- SaveFileDialog.cs
- DocumentOrderComparer.cs
- ImageSourceConverter.cs
- HashCodeCombiner.cs