Code:
/ DotNET / DotNET / 8.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
- PartManifestEntry.cs
- ContextMenu.cs
- FastEncoder.cs
- ApplicationSecurityInfo.cs
- SocketException.cs
- FlowDocumentScrollViewer.cs
- SchemaInfo.cs
- EdgeProfileValidation.cs
- HttpModule.cs
- TypeLoadException.cs
- OracleParameterBinding.cs
- ApplicationSecurityManager.cs
- EncoderFallback.cs
- ContextBase.cs
- InvalidCommandTreeException.cs
- ActivatableWorkflowsQueryResult.cs
- ClientRolePrincipal.cs
- ExecutionEngineException.cs
- PersonalizationDictionary.cs
- Policy.cs
- XmlTextAttribute.cs
- DefaultPropertyAttribute.cs
- WindowsStartMenu.cs
- LocalIdKeyIdentifierClause.cs
- HScrollProperties.cs
- DbTransaction.cs
- FileReservationCollection.cs
- _SslSessionsCache.cs
- SingleBodyParameterMessageFormatter.cs
- bidPrivateBase.cs
- TextProperties.cs
- ClientTarget.cs
- Context.cs
- HttpListenerContext.cs
- SqlFunctions.cs
- SSmlParser.cs
- XmlSchemaGroupRef.cs
- MetadataWorkspace.cs
- XmlSchemaAll.cs
- ImpersonateTokenRef.cs
- ColumnResizeAdorner.cs
- UnicodeEncoding.cs
- ResourceDictionary.cs
- ListView.cs
- Set.cs
- DataGridColumnsPage.cs
- _emptywebproxy.cs
- HtmlHistory.cs
- SessionSwitchEventArgs.cs
- SystemFonts.cs
- StreamGeometry.cs
- RedistVersionInfo.cs
- NullReferenceException.cs
- FreezableCollection.cs
- FacetValueContainer.cs
- TextEffect.cs
- ListViewTableCell.cs
- EventLogHandle.cs
- DbLambda.cs
- CellRelation.cs
- Rotation3D.cs
- DataGridViewBindingCompleteEventArgs.cs
- NavigateEvent.cs
- FormViewDeletedEventArgs.cs
- Itemizer.cs
- X509SubjectKeyIdentifierClause.cs
- StyleBamlTreeBuilder.cs
- IntegerFacetDescriptionElement.cs
- TextTreeUndo.cs
- CustomCredentialPolicy.cs
- WindowsFormsSectionHandler.cs
- Error.cs
- MetadataUtilsSmi.cs
- BuildDependencySet.cs
- WindowsAuthenticationEventArgs.cs
- XmlSchemaResource.cs
- CodeCastExpression.cs
- IdlingCommunicationPool.cs
- SafeFileMappingHandle.cs
- Grant.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- xmlsaver.cs
- CustomBindingElementCollection.cs
- KeyValueSerializer.cs
- SqlDataSourceCache.cs
- SmiEventSink_DeferedProcessing.cs
- streamingZipPartStream.cs
- HttpWebRequest.cs
- ParagraphResult.cs
- Thumb.cs
- FormConverter.cs
- ShutDownListener.cs
- TabItemWrapperAutomationPeer.cs
- XmlEntityReference.cs
- MemberJoinTreeNode.cs
- InternalConfigSettingsFactory.cs
- GenericXmlSecurityToken.cs
- VariableQuery.cs
- ObjectListFieldCollection.cs
- DragDropManager.cs