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
- SQlBooleanStorage.cs
- OpenTypeLayout.cs
- BooleanSwitch.cs
- SqlNode.cs
- Stroke.cs
- DocumentPageViewAutomationPeer.cs
- ValidationException.cs
- ActivityWithResult.cs
- TraceFilter.cs
- HitTestResult.cs
- DataRowView.cs
- Variant.cs
- AppDomainProtocolHandler.cs
- NameNode.cs
- SqlDataReader.cs
- SqlBooleanMismatchVisitor.cs
- DesignerActionItem.cs
- ClusterRegistryConfigurationProvider.cs
- TextEditorCopyPaste.cs
- Application.cs
- DataGridHeaderBorder.cs
- Selector.cs
- Tag.cs
- PagedControl.cs
- Signature.cs
- SqlDataReaderSmi.cs
- Int32.cs
- SplitContainer.cs
- PageBuildProvider.cs
- FileClassifier.cs
- VariableElement.cs
- XmlMessageFormatter.cs
- ReservationCollection.cs
- LostFocusEventManager.cs
- BitmapPalette.cs
- DetailsViewPageEventArgs.cs
- SecurityPermission.cs
- ListDataHelper.cs
- AsymmetricCryptoHandle.cs
- Translator.cs
- AccessDataSource.cs
- ConfigsHelper.cs
- LinearKeyFrames.cs
- MetadataAssemblyHelper.cs
- UnknownBitmapEncoder.cs
- UnmanagedMemoryStreamWrapper.cs
- QuaternionIndependentAnimationStorage.cs
- Separator.cs
- AndCondition.cs
- DigitalSignatureProvider.cs
- DictionaryEntry.cs
- CornerRadius.cs
- Config.cs
- ApplicationServiceManager.cs
- UnsafeNativeMethods.cs
- ConfigurationPropertyCollection.cs
- Serializer.cs
- UrlPath.cs
- CodeAttributeArgumentCollection.cs
- StrongNameMembershipCondition.cs
- DesignerLoader.cs
- Util.cs
- MultitargetingHelpers.cs
- XmlNamespaceManager.cs
- AbandonedMutexException.cs
- CompositeFontFamily.cs
- InputScopeConverter.cs
- DataGridViewCell.cs
- ArrayHelper.cs
- BaseParser.cs
- PeerNearMe.cs
- LocatorPart.cs
- PolicyChain.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- DropDownList.cs
- EqualityComparer.cs
- NominalTypeEliminator.cs
- XmlWriterTraceListener.cs
- ExternalCalls.cs
- ProtocolsConfiguration.cs
- AnchorEditor.cs
- EventProxy.cs
- TypeLoadException.cs
- UnsafeMethods.cs
- ObjectDataSourceStatusEventArgs.cs
- AxisAngleRotation3D.cs
- SmiRecordBuffer.cs
- ConfigXmlComment.cs
- SiteMapPath.cs
- ClientApiGenerator.cs
- PageCatalogPartDesigner.cs
- DiscreteKeyFrames.cs
- HitTestWithGeometryDrawingContextWalker.cs
- TripleDES.cs
- WebBrowserBase.cs
- CodeTryCatchFinallyStatement.cs
- DataRelationPropertyDescriptor.cs
- HiddenField.cs
- CSharpCodeProvider.cs
- XmlExceptionHelper.cs