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
- ExceptionCollection.cs
- _SecureChannel.cs
- DataControlPagerLinkButton.cs
- ImageFormat.cs
- EventBookmark.cs
- SrgsGrammar.cs
- Buffer.cs
- ValidatingReaderNodeData.cs
- ServiceModelSecurityTokenTypes.cs
- BufferedGraphicsContext.cs
- HostUtils.cs
- PromptStyle.cs
- PbrsForward.cs
- PrivilegeNotHeldException.cs
- SlotInfo.cs
- NativeMethods.cs
- KeyBinding.cs
- TemplateApplicationHelper.cs
- ObjectManager.cs
- Span.cs
- XPathDocumentBuilder.cs
- EraserBehavior.cs
- ToolStripHighContrastRenderer.cs
- ResolveNameEventArgs.cs
- XmlName.cs
- RenderDataDrawingContext.cs
- AspNetHostingPermission.cs
- CredentialCache.cs
- ParsedAttributeCollection.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- InputBinder.cs
- TextCompositionEventArgs.cs
- CornerRadiusConverter.cs
- PageTheme.cs
- Attributes.cs
- ErrorFormatterPage.cs
- NamedObject.cs
- QueryOutputWriter.cs
- ForeignKeyConstraint.cs
- CngProperty.cs
- DelegateCompletionCallbackWrapper.cs
- ContentFileHelper.cs
- WebBrowserEvent.cs
- PeerNameRecordCollection.cs
- WindowsScroll.cs
- JsonFormatGeneratorStatics.cs
- WSSecurityTokenSerializer.cs
- GeneralTransform3D.cs
- ContextMenuStripActionList.cs
- SetIterators.cs
- CheckBoxRenderer.cs
- WebPartDisplayModeCancelEventArgs.cs
- Vector3D.cs
- StylusButtonCollection.cs
- ClusterUtils.cs
- safesecurityhelperavalon.cs
- PopOutPanel.cs
- MD5CryptoServiceProvider.cs
- MemberHolder.cs
- StylusCollection.cs
- XPathAxisIterator.cs
- cryptoapiTransform.cs
- TemplateAction.cs
- NavigateEvent.cs
- HttpCapabilitiesBase.cs
- SpnEndpointIdentity.cs
- ModuleBuilderData.cs
- XmlC14NWriter.cs
- XPathBuilder.cs
- DelegateBodyWriter.cs
- ObservableCollectionDefaultValueFactory.cs
- HopperCache.cs
- SqlFunctionAttribute.cs
- WebBrowserUriTypeConverter.cs
- FontStyleConverter.cs
- Permission.cs
- GZipStream.cs
- SelectionPattern.cs
- TreeNodeStyle.cs
- XMLDiffLoader.cs
- MetadataItem_Static.cs
- InternalResources.cs
- EntityProviderServices.cs
- FileVersion.cs
- FragmentQuery.cs
- OutputCacheSection.cs
- DataBinder.cs
- ButtonStandardAdapter.cs
- SqlRowUpdatedEvent.cs
- Bits.cs
- DataGridCellClipboardEventArgs.cs
- CustomAttribute.cs
- AssemblyAttributesGoHere.cs
- UnsafeNetInfoNativeMethods.cs
- MetadataCacheItem.cs
- UrlMappingCollection.cs
- AnonymousIdentificationSection.cs
- FileEnumerator.cs
- EntitySetBase.cs
- Point3DKeyFrameCollection.cs