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;
///
/// Provides data for some events.
///
[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;
///
/// Initializes a new instance of the
/// class.
///
public GridViewUpdateEventArgs(int rowIndex) : base(false) {
this._rowIndex = rowIndex;
}
///
/// Gets a keyed list to populate with updated row values. This property is read-only.
///
public IOrderedDictionary Keys {
get {
if (_keys == null) {
_keys = new OrderedDictionary();
}
return _keys;
}
}
///
/// Gets a OrderedDictionary 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 pre-edit row values. This property is read-only.
///
public IOrderedDictionary OldValues {
get {
if (_oldValues == null) {
_oldValues = new OrderedDictionary();
}
return _oldValues;
}
}
///
/// Gets the int argument to the command posted to the . This property is read-only.
///
public int RowIndex {
get {
return _rowIndex;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UdpRetransmissionSettings.cs
- GraphicsPath.cs
- EventHandlerList.cs
- IdentityHolder.cs
- CompilerWrapper.cs
- Color.cs
- LiteralText.cs
- CheckBox.cs
- EditorOptionAttribute.cs
- _ConnectOverlappedAsyncResult.cs
- remotingproxy.cs
- MemberAccessException.cs
- VisualBasicImportReference.cs
- RefreshEventArgs.cs
- ToolStripPanelRow.cs
- JsonByteArrayDataContract.cs
- SrgsRulesCollection.cs
- TextOnlyOutput.cs
- SqlDataSourceRefreshSchemaForm.cs
- ContentDisposition.cs
- ClickablePoint.cs
- PinnedBufferMemoryStream.cs
- ChildTable.cs
- SqlWorkflowPersistenceService.cs
- DefaultPropertyAttribute.cs
- SHA256Managed.cs
- Regex.cs
- ReadWriteSpinLock.cs
- __Filters.cs
- WindowsSpinner.cs
- BamlReader.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DiscoveryClientProtocol.cs
- Accessible.cs
- EntityParameterCollection.cs
- TokenizerHelper.cs
- PropertyGridEditorPart.cs
- RemoteWebConfigurationHost.cs
- ClonableStack.cs
- DelayedRegex.cs
- FontWeight.cs
- FunctionNode.cs
- XmlStreamStore.cs
- HeaderUtility.cs
- EUCJPEncoding.cs
- OneToOneMappingSerializer.cs
- HtmlCommandAdapter.cs
- ReversePositionQuery.cs
- BadImageFormatException.cs
- HttpResponseHeader.cs
- _ConnectOverlappedAsyncResult.cs
- MouseEvent.cs
- IndexingContentUnit.cs
- NodeInfo.cs
- SoapParser.cs
- ElementUtil.cs
- AnalyzedTree.cs
- WebPartCancelEventArgs.cs
- StateWorkerRequest.cs
- FullTextLine.cs
- ToolZone.cs
- DataBindingHandlerAttribute.cs
- ICspAsymmetricAlgorithm.cs
- EntityDataSourceEntityTypeFilterItem.cs
- ContextMenuAutomationPeer.cs
- UIntPtr.cs
- EntityModelBuildProvider.cs
- Int32Rect.cs
- ComponentRenameEvent.cs
- ConditionalBranch.cs
- TraceData.cs
- LinearQuaternionKeyFrame.cs
- InputLanguageEventArgs.cs
- PrintPreviewDialog.cs
- Privilege.cs
- ValidateNames.cs
- SectionUpdates.cs
- _ContextAwareResult.cs
- FormViewModeEventArgs.cs
- AsnEncodedData.cs
- SQLInt16Storage.cs
- AsymmetricAlgorithm.cs
- CodeCompileUnit.cs
- dataprotectionpermissionattribute.cs
- ReadWriteObjectLock.cs
- ComponentEditorForm.cs
- TreeView.cs
- NewItemsContextMenuStrip.cs
- PageThemeCodeDomTreeGenerator.cs
- CompiledIdentityConstraint.cs
- EnvironmentPermission.cs
- BackStopAuthenticationModule.cs
- PropertyEmitterBase.cs
- SplitContainerDesigner.cs
- DataConnectionHelper.cs
- PeerObject.cs
- ProgressBarBrushConverter.cs
- DockPattern.cs
- DataViewSettingCollection.cs
- WebAdminConfigurationHelper.cs