Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- ScaleTransform3D.cs
- WebCategoryAttribute.cs
- ValidationContext.cs
- CngProperty.cs
- EmptyQuery.cs
- Component.cs
- Italic.cs
- Profiler.cs
- IIS7WorkerRequest.cs
- DbQueryCommandTree.cs
- Funcletizer.cs
- XmlSerializationGeneratedCode.cs
- XmlDocumentFieldSchema.cs
- HttpCapabilitiesEvaluator.cs
- SuppressMessageAttribute.cs
- TokenCreationParameter.cs
- ObjectViewFactory.cs
- RuleInfoComparer.cs
- BitmapImage.cs
- Matrix3D.cs
- CategoryGridEntry.cs
- ServiceChannelManager.cs
- Utils.cs
- QuaternionRotation3D.cs
- PrintingPermission.cs
- _LocalDataStore.cs
- DirectoryLocalQuery.cs
- GradientStop.cs
- TransactionManager.cs
- RowParagraph.cs
- TerminateDesigner.cs
- TransformerInfo.cs
- RuntimeConfigLKG.cs
- SkinIDTypeConverter.cs
- TemplateAction.cs
- MsmqIntegrationValidationBehavior.cs
- Number.cs
- JsonSerializer.cs
- Normalization.cs
- PopupRootAutomationPeer.cs
- Brush.cs
- DataGridState.cs
- SQLMoneyStorage.cs
- AtomServiceDocumentSerializer.cs
- XmlLangPropertyAttribute.cs
- ImageField.cs
- OleDbException.cs
- CalendarDateRangeChangingEventArgs.cs
- DrawItemEvent.cs
- AccessDataSource.cs
- GcHandle.cs
- Int16.cs
- _StreamFramer.cs
- Function.cs
- DataGridViewColumnHeaderCell.cs
- ObjectStateManager.cs
- EventSinkHelperWriter.cs
- SchemaNamespaceManager.cs
- MembershipValidatePasswordEventArgs.cs
- WebPartDeleteVerb.cs
- Semaphore.cs
- ComPlusThreadInitializer.cs
- PropertyGrid.cs
- HttpCachePolicy.cs
- Cloud.cs
- InkCanvasAutomationPeer.cs
- Panel.cs
- SpellCheck.cs
- UIAgentAsyncParams.cs
- XmlSchemaSequence.cs
- ImpersonateTokenRef.cs
- FunctionNode.cs
- FixedHighlight.cs
- ValidationUtility.cs
- EncryptionUtility.cs
- Win32PrintDialog.cs
- SByteConverter.cs
- CheckBoxBaseAdapter.cs
- StreamUpgradeBindingElement.cs
- GACIdentityPermission.cs
- PageFunction.cs
- ResourceProviderFactory.cs
- TCEAdapterGenerator.cs
- WmlLinkAdapter.cs
- TableLayout.cs
- FormatException.cs
- QuaternionAnimationBase.cs
- GACMembershipCondition.cs
- PageThemeParser.cs
- DbUpdateCommandTree.cs
- DBConnectionString.cs
- CssStyleCollection.cs
- TaskHelper.cs
- ExtensionDataObject.cs
- WebPartTransformer.cs
- MetadataFile.cs
- LineGeometry.cs
- SecUtil.cs
- PropertyDescriptorComparer.cs
- entityreference_tresulttype.cs