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
- TextEffectResolver.cs
- Logging.cs
- DrawListViewItemEventArgs.cs
- Vector3DKeyFrameCollection.cs
- ValidatingCollection.cs
- DirtyTextRange.cs
- XPathPatternParser.cs
- JsonDeserializer.cs
- KeyProperty.cs
- ApplicationTrust.cs
- Rotation3D.cs
- ISO2022Encoding.cs
- BlockUIContainer.cs
- GroupQuery.cs
- ConfigurationException.cs
- WebPartDescription.cs
- TableDetailsRow.cs
- OutputCacheProfileCollection.cs
- QueryOptionExpression.cs
- DesignerSerializerAttribute.cs
- SoapObjectInfo.cs
- EmptyCollection.cs
- ResourceAssociationSet.cs
- PropertyFilterAttribute.cs
- CategoryAttribute.cs
- AsnEncodedData.cs
- HtmlInputRadioButton.cs
- NameValueConfigurationElement.cs
- RenderOptions.cs
- WebRequestModuleElement.cs
- ConcurrencyBehavior.cs
- StateMachine.cs
- TransformProviderWrapper.cs
- ASCIIEncoding.cs
- FixedSOMLineCollection.cs
- GroupBoxRenderer.cs
- FastEncoder.cs
- SoundPlayerAction.cs
- D3DImage.cs
- RenderData.cs
- TraceSection.cs
- ListViewSelectEventArgs.cs
- DataGridViewColumnCollection.cs
- BooleanFunctions.cs
- ButtonField.cs
- NativeMethods.cs
- WaitHandleCannotBeOpenedException.cs
- WmlObjectListAdapter.cs
- ProgressBarRenderer.cs
- BitmapEffectGeneralTransform.cs
- PrintPreviewGraphics.cs
- Accessible.cs
- HttpCachePolicyBase.cs
- InstanceKeyView.cs
- IndicCharClassifier.cs
- GroupBoxAutomationPeer.cs
- BrowserCapabilitiesFactoryBase.cs
- BitmapEffectDrawing.cs
- WindowsFormsSectionHandler.cs
- ConvertTextFrag.cs
- Bezier.cs
- Effect.cs
- SecurityManager.cs
- PolicyUnit.cs
- SamlAuthenticationClaimResource.cs
- RectangleGeometry.cs
- HttpModulesSection.cs
- Span.cs
- DataGridViewLinkCell.cs
- ContentControl.cs
- CodePageEncoding.cs
- DbProviderServices.cs
- TdsParserHelperClasses.cs
- TextServicesHost.cs
- ActivationServices.cs
- QueueException.cs
- XmlNavigatorStack.cs
- httpstaticobjectscollection.cs
- MouseActionValueSerializer.cs
- Matrix3D.cs
- DispatcherFrame.cs
- TextElementAutomationPeer.cs
- AbstractSvcMapFileLoader.cs
- SamlEvidence.cs
- FormViewInsertEventArgs.cs
- VerticalAlignConverter.cs
- SerializeAbsoluteContext.cs
- RepeatButtonAutomationPeer.cs
- Bezier.cs
- FileStream.cs
- StringCollection.cs
- CodeGenerator.cs
- AutoSizeToolBoxItem.cs
- ObjectTypeMapping.cs
- StreamInfo.cs
- XmlFormatMapping.cs
- _ListenerRequestStream.cs
- path.cs
- AssociationSetEnd.cs
- HtmlInputButton.cs