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
- PersistChildrenAttribute.cs
- TraceListeners.cs
- UnionExpr.cs
- FilterElement.cs
- CodeTypeReference.cs
- ConnectionString.cs
- RowBinding.cs
- CryptoStream.cs
- EntityType.cs
- Span.cs
- ConsumerConnectionPoint.cs
- NullableDecimalAverageAggregationOperator.cs
- DomainLiteralReader.cs
- FileDialogCustomPlace.cs
- CompositeTypefaceMetrics.cs
- ItemsControlAutomationPeer.cs
- ListDictionary.cs
- XmlNamespaceManager.cs
- XmlIgnoreAttribute.cs
- ProcessThread.cs
- VisualBrush.cs
- ProtocolsConfiguration.cs
- SafeRegistryHandle.cs
- HelloOperationCD1AsyncResult.cs
- ButtonField.cs
- HatchBrush.cs
- HuffCodec.cs
- SafeFindHandle.cs
- CalculatedColumn.cs
- KeyedQueue.cs
- WebBrowserSiteBase.cs
- Matrix3DValueSerializer.cs
- SchemaCollectionPreprocessor.cs
- ImpersonationContext.cs
- FullTextLine.cs
- ColorIndependentAnimationStorage.cs
- SecurityPermission.cs
- PerformanceCounterPermissionEntryCollection.cs
- ProjectionPathSegment.cs
- SystemThemeKey.cs
- DrawListViewItemEventArgs.cs
- MembershipValidatePasswordEventArgs.cs
- TypeSystemHelpers.cs
- Screen.cs
- ZipFileInfoCollection.cs
- XmlQualifiedName.cs
- DecoderReplacementFallback.cs
- mediaclock.cs
- Operand.cs
- SpellerHighlightLayer.cs
- WebScriptEndpointElement.cs
- XsdValidatingReader.cs
- ResourcePart.cs
- VerificationException.cs
- PropertyValueChangedEvent.cs
- ScalarConstant.cs
- NamedPipeTransportElement.cs
- BindingGroup.cs
- GenericWebPart.cs
- VolatileEnlistmentState.cs
- HttpResponseHeader.cs
- ThousandthOfEmRealPoints.cs
- FixedDocumentSequencePaginator.cs
- TransportOutputChannel.cs
- StringValueSerializer.cs
- SqlBooleanizer.cs
- CancelEventArgs.cs
- CheckBoxRenderer.cs
- ScrollChrome.cs
- TimelineGroup.cs
- ToolTipService.cs
- StateBag.cs
- StringDictionary.cs
- SecurityDescriptor.cs
- SwitchElementsCollection.cs
- TransformDescriptor.cs
- Internal.cs
- GiveFeedbackEvent.cs
- RegistryDataKey.cs
- PeerContact.cs
- PersonalizablePropertyEntry.cs
- coordinatorscratchpad.cs
- ConnectionConsumerAttribute.cs
- __FastResourceComparer.cs
- Solver.cs
- CodeIterationStatement.cs
- View.cs
- CopyAttributesAction.cs
- TriggerAction.cs
- XhtmlBasicTextViewAdapter.cs
- SimpleWebHandlerParser.cs
- TraceSource.cs
- Point3DIndependentAnimationStorage.cs
- XmlChoiceIdentifierAttribute.cs
- ConstNode.cs
- XamlStream.cs
- DragEventArgs.cs
- DictionaryEditChange.cs
- ForwardPositionQuery.cs
- SolidColorBrush.cs