Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }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
- EntityDataSourceValidationException.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- DataGridViewRowStateChangedEventArgs.cs
- OleDbTransaction.cs
- CellQuery.cs
- Crc32.cs
- Visitor.cs
- FontCollection.cs
- InfoCardSymmetricAlgorithm.cs
- TimeSpanValidatorAttribute.cs
- HandlerMappingMemo.cs
- SizeConverter.cs
- ProgressiveCrcCalculatingStream.cs
- DataTable.cs
- SafeNativeMethods.cs
- ErrorEventArgs.cs
- AssertSection.cs
- XmlDataSource.cs
- AmbientProperties.cs
- securitycriticaldata.cs
- BaseTemplateParser.cs
- Form.cs
- ScriptControlManager.cs
- ControlBuilder.cs
- HealthMonitoringSectionHelper.cs
- DeviceFilterDictionary.cs
- SchemaContext.cs
- ReliabilityContractAttribute.cs
- ExpressionConverter.cs
- SingleResultAttribute.cs
- MediaElement.cs
- NetworkStream.cs
- Error.cs
- StylusDownEventArgs.cs
- InputLanguage.cs
- ScrollViewerAutomationPeer.cs
- EnumerableWrapperWeakToStrong.cs
- SimpleTextLine.cs
- DataViewListener.cs
- RichTextBoxConstants.cs
- BitmapEffectGeneralTransform.cs
- UrlPath.cs
- SQLDecimal.cs
- InstanceKeyNotReadyException.cs
- ProvidePropertyAttribute.cs
- Dynamic.cs
- TextFragmentEngine.cs
- DbProviderFactoriesConfigurationHandler.cs
- BrowserInteropHelper.cs
- WebProxyScriptElement.cs
- MultiView.cs
- NameValueFileSectionHandler.cs
- CodeCompiler.cs
- MethodAccessException.cs
- CriticalHandle.cs
- Expressions.cs
- Visitors.cs
- XmlNamespaceDeclarationsAttribute.cs
- _AuthenticationState.cs
- InstanceLockQueryResult.cs
- MergeLocalizationDirectives.cs
- Brushes.cs
- SHA384Managed.cs
- HttpMethodAttribute.cs
- HitTestParameters.cs
- TextEditor.cs
- RepeatBehaviorConverter.cs
- UserPersonalizationStateInfo.cs
- SqlInternalConnectionTds.cs
- ListGeneralPage.cs
- CachedResourceDictionaryExtension.cs
- SystemTcpConnection.cs
- SpeechUI.cs
- WebConfigurationHost.cs
- DrawingContextWalker.cs
- HttpResponseBase.cs
- Geometry3D.cs
- Visual3D.cs
- OracleConnectionString.cs
- BamlWriter.cs
- XslTransformFileEditor.cs
- SizeAnimation.cs
- LineServices.cs
- FileSystemWatcher.cs
- DataStorage.cs
- DataGridHeaderBorder.cs
- CompositeKey.cs
- AxisAngleRotation3D.cs
- DesignerActionUIService.cs
- LinkedResourceCollection.cs
- ContentType.cs
- IndentedTextWriter.cs
- ScriptingRoleServiceSection.cs
- DataBindingCollection.cs
- TypeHelpers.cs
- ForeignKeyConstraint.cs
- ApplicationDirectory.cs
- ContentElement.cs
- TreeBuilder.cs
- GZipObjectSerializer.cs