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
- GuidConverter.cs
- LockCookie.cs
- SafeSecurityHelper.cs
- EntityConnection.cs
- RequestQueue.cs
- ContentValidator.cs
- ComponentResourceKey.cs
- ASCIIEncoding.cs
- AxHost.cs
- StringUtil.cs
- TextFormatterContext.cs
- SchemaImporterExtensionElementCollection.cs
- COM2PropertyDescriptor.cs
- WebSysDisplayNameAttribute.cs
- AggregateNode.cs
- Parser.cs
- WebPartConnectionsDisconnectVerb.cs
- PolicyImporterElementCollection.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ColorContext.cs
- TableRow.cs
- TraceContextEventArgs.cs
- DataGridPreparingCellForEditEventArgs.cs
- UpDownEvent.cs
- ToolStripDesignerUtils.cs
- ArrayExtension.cs
- RuleSetCollection.cs
- thaishape.cs
- FillBehavior.cs
- LightweightCodeGenerator.cs
- InstanceNotReadyException.cs
- PageBreakRecord.cs
- SqlError.cs
- DiagnosticEventProvider.cs
- StorageEntityContainerMapping.cs
- MulticastOption.cs
- EntitySet.cs
- SubtreeProcessor.cs
- AppSettingsReader.cs
- DirectoryGroupQuery.cs
- FigureHelper.cs
- DataGridComponentEditor.cs
- DataGridColumnStyleMappingNameEditor.cs
- CacheRequest.cs
- NavigationProgressEventArgs.cs
- GetChildSubtree.cs
- IUnknownConstantAttribute.cs
- XpsS0ValidatingLoader.cs
- SpellerInterop.cs
- HwndAppCommandInputProvider.cs
- Rect3D.cs
- ThreadStaticAttribute.cs
- NewItemsContextMenuStrip.cs
- MessageDecoder.cs
- HMACSHA256.cs
- TrackingStringDictionary.cs
- Automation.cs
- RIPEMD160Managed.cs
- DbDataReader.cs
- DataRecordInternal.cs
- TextFragmentEngine.cs
- ImageBrush.cs
- MultipartIdentifier.cs
- SqlDataReader.cs
- DataGridCommandEventArgs.cs
- MessageQueue.cs
- TextSelectionProcessor.cs
- DoubleKeyFrameCollection.cs
- ReadOnlyObservableCollection.cs
- BaseTemplateParser.cs
- CorePropertiesFilter.cs
- FloaterParaClient.cs
- HttpValueCollection.cs
- ProviderSettingsCollection.cs
- ToolStripScrollButton.cs
- FrameworkTextComposition.cs
- ContainerParaClient.cs
- TrustLevelCollection.cs
- CodeGroup.cs
- Receive.cs
- PointUtil.cs
- XamlRtfConverter.cs
- XmlNamedNodeMap.cs
- ConfigXmlText.cs
- Transactions.cs
- PopupEventArgs.cs
- PageSettings.cs
- Substitution.cs
- ShapingEngine.cs
- PersonalizableAttribute.cs
- Nullable.cs
- MimeTextImporter.cs
- serverconfig.cs
- ObjectStateFormatter.cs
- GridViewRowPresenter.cs
- FileRecordSequenceHelper.cs
- SqlGatherConsumedAliases.cs
- CodeBinaryOperatorExpression.cs
- ContentPresenter.cs
- TreeChangeInfo.cs