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
- ComplexLine.cs
- CompressEmulationStream.cs
- RelationshipType.cs
- ViewService.cs
- HttpListenerRequestUriBuilder.cs
- DataGridRelationshipRow.cs
- GenericsNotImplementedException.cs
- DictionaryTraceRecord.cs
- TextTreeInsertElementUndoUnit.cs
- Line.cs
- WebPartConnection.cs
- Wizard.cs
- ClientConfigPaths.cs
- IISUnsafeMethods.cs
- LOSFormatter.cs
- X509ChainPolicy.cs
- ProjectionQueryOptionExpression.cs
- ReaderContextStackData.cs
- WebPartUtil.cs
- HtmlEncodedRawTextWriter.cs
- DataObjectAttribute.cs
- DataGridViewButtonCell.cs
- MemoryPressure.cs
- ListViewHitTestInfo.cs
- Int32Animation.cs
- ValidationErrorCollection.cs
- SafeEventLogWriteHandle.cs
- ReversePositionQuery.cs
- Compilation.cs
- AttributeUsageAttribute.cs
- OdbcTransaction.cs
- HtmlInputSubmit.cs
- ObservableCollection.cs
- DispatcherExceptionFilterEventArgs.cs
- AttachedPropertyInfo.cs
- BigInt.cs
- RtfControlWordInfo.cs
- CalendarAutoFormat.cs
- SafeHandle.cs
- XmlSerializer.cs
- IdentitySection.cs
- TreeNodeConverter.cs
- MD5CryptoServiceProvider.cs
- HandlerFactoryWrapper.cs
- SQLBinary.cs
- UnauthorizedWebPart.cs
- ParseChildrenAsPropertiesAttribute.cs
- PropertyInformation.cs
- remotingproxy.cs
- XmlDocument.cs
- latinshape.cs
- HeaderCollection.cs
- DBBindings.cs
- WebControlParameterProxy.cs
- ObjectView.cs
- MissingSatelliteAssemblyException.cs
- StringAnimationUsingKeyFrames.cs
- ListItemCollection.cs
- AppDomain.cs
- PriorityQueue.cs
- BitmapDownload.cs
- GrammarBuilderPhrase.cs
- NopReturnReader.cs
- TextEndOfParagraph.cs
- SqlUtil.cs
- NameTable.cs
- ProfileGroupSettings.cs
- RoutedEventHandlerInfo.cs
- UnsafeNetInfoNativeMethods.cs
- ProfileService.cs
- ProxyWebPart.cs
- ReachBasicContext.cs
- DataServiceProcessingPipeline.cs
- WCFServiceClientProxyGenerator.cs
- UseAttributeSetsAction.cs
- UniqueIdentifierService.cs
- TextSpan.cs
- WindowsListViewGroupHelper.cs
- ConnectionsZone.cs
- MemoryRecordBuffer.cs
- XmlTextAttribute.cs
- StringReader.cs
- EditorPartCollection.cs
- BamlRecordHelper.cs
- GlobalizationSection.cs
- BrowserCapabilitiesCompiler.cs
- MobileUITypeEditor.cs
- SaveCardRequest.cs
- TypeSource.cs
- XmlWhitespace.cs
- StandardCommands.cs
- DataGridCommandEventArgs.cs
- PropertyRef.cs
- KeyValueSerializer.cs
- OleDbReferenceCollection.cs
- CompModSwitches.cs
- TcpDuplicateContext.cs
- XmlSerializationReader.cs
- ImageAutomationPeer.cs
- UnsignedPublishLicense.cs