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
- Automation.cs
- ControlParser.cs
- basemetadatamappingvisitor.cs
- BinaryFormatter.cs
- HostedHttpContext.cs
- SqlCaseSimplifier.cs
- PreservationFileReader.cs
- ServiceModelEnumValidator.cs
- PageContent.cs
- SymbolType.cs
- ContentElementCollection.cs
- ColumnMapVisitor.cs
- MetricEntry.cs
- ReadOnlyTernaryTree.cs
- UpdateProgress.cs
- Common.cs
- AdornerPresentationContext.cs
- DataKeyCollection.cs
- XmlSerializerFactory.cs
- OracleParameter.cs
- ParseChildrenAsPropertiesAttribute.cs
- WebPartCatalogCloseVerb.cs
- SessionStateItemCollection.cs
- ComponentManagerBroker.cs
- CaseCqlBlock.cs
- PrePrepareMethodAttribute.cs
- Point3DAnimationUsingKeyFrames.cs
- ChooseAction.cs
- PackageRelationshipCollection.cs
- XmlILOptimizerVisitor.cs
- PointUtil.cs
- ListSortDescriptionCollection.cs
- SqlBulkCopy.cs
- Operand.cs
- ProcessHostMapPath.cs
- InvalidWMPVersionException.cs
- CanonicalFontFamilyReference.cs
- BlobPersonalizationState.cs
- PanelDesigner.cs
- XmlnsDefinitionAttribute.cs
- ColorAnimationBase.cs
- BitmapPalette.cs
- InputEventArgs.cs
- UrlMappingsSection.cs
- FormsAuthenticationCredentials.cs
- AspNetCompatibilityRequirementsAttribute.cs
- SapiAttributeParser.cs
- MemberAccessException.cs
- dbdatarecord.cs
- TextDecorationCollection.cs
- SqlNotificationRequest.cs
- RuntimeCompatibilityAttribute.cs
- SoapSchemaMember.cs
- ScrollPattern.cs
- CompositeFontParser.cs
- WindowsIPAddress.cs
- MostlySingletonList.cs
- Geometry3D.cs
- GridViewRowPresenter.cs
- Point3DKeyFrameCollection.cs
- KeyEventArgs.cs
- DBAsyncResult.cs
- FixedSOMPageElement.cs
- Math.cs
- BamlResourceSerializer.cs
- MobileControlsSectionHandler.cs
- AssemblyUtil.cs
- RsaSecurityTokenAuthenticator.cs
- QilName.cs
- JpegBitmapDecoder.cs
- DateTimeParse.cs
- StaticExtension.cs
- UniqueEventHelper.cs
- VectorConverter.cs
- validation.cs
- SpecialFolderEnumConverter.cs
- TypeListConverter.cs
- COM2EnumConverter.cs
- DelayedRegex.cs
- CngAlgorithmGroup.cs
- DataTemplate.cs
- RuleRef.cs
- HttpModuleCollection.cs
- HttpResponseHeader.cs
- ToolStripButton.cs
- Enumerable.cs
- CompoundFileDeflateTransform.cs
- UrlMappingsSection.cs
- LocationReference.cs
- ToolStripLabel.cs
- SubMenuStyle.cs
- ProtocolsConfigurationEntry.cs
- ObjectContext.cs
- ToolStrip.cs
- _ContextAwareResult.cs
- UnionCodeGroup.cs
- ItemCheckedEvent.cs
- NoClickablePointException.cs
- TemplateDefinition.cs
- AspCompat.cs