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
- FrameworkObject.cs
- XslVisitor.cs
- TraceInternal.cs
- StringUtil.cs
- DataSourceSelectArguments.cs
- PointLightBase.cs
- TreeViewDataItemAutomationPeer.cs
- Compensation.cs
- BamlLocalizationDictionary.cs
- BooleanSwitch.cs
- SemaphoreFullException.cs
- CatalogZone.cs
- Track.cs
- UrlMappingsSection.cs
- SafeCoTaskMem.cs
- DesignerTransactionCloseEvent.cs
- Rectangle.cs
- NegotiateStream.cs
- BevelBitmapEffect.cs
- TableLayoutRowStyleCollection.cs
- FragmentQueryKB.cs
- InvokeHandlers.cs
- ArgumentOutOfRangeException.cs
- ClientOptions.cs
- AutomationPropertyInfo.cs
- MsmqBindingFilter.cs
- QueryExpr.cs
- Command.cs
- ClientConvert.cs
- CustomAttributeBuilder.cs
- ProcessProtocolHandler.cs
- brushes.cs
- initElementDictionary.cs
- XsdBuildProvider.cs
- DbParameterCollectionHelper.cs
- XPathNodeHelper.cs
- OraclePermissionAttribute.cs
- ExtractCollection.cs
- SqlServices.cs
- XmlIterators.cs
- DataTableReaderListener.cs
- CustomWebEventKey.cs
- ParallelQuery.cs
- NotImplementedException.cs
- RuleValidation.cs
- CompositeCollection.cs
- CachedCompositeFamily.cs
- ProfilePropertySettingsCollection.cs
- OutputCacheSection.cs
- ProfileManager.cs
- Splitter.cs
- BulletedList.cs
- RadioButtonFlatAdapter.cs
- Token.cs
- MatrixStack.cs
- XamlStyleSerializer.cs
- externdll.cs
- SmiTypedGetterSetter.cs
- CharAnimationUsingKeyFrames.cs
- CalendarDay.cs
- DisposableCollectionWrapper.cs
- mda.cs
- ListDictionary.cs
- ToolTip.cs
- Attributes.cs
- EventBuilder.cs
- FontUnit.cs
- SplitContainer.cs
- DataFormat.cs
- DataRowChangeEvent.cs
- QueryContinueDragEventArgs.cs
- StringValueSerializer.cs
- Schema.cs
- FrameworkReadOnlyPropertyMetadata.cs
- SingleStorage.cs
- StronglyTypedResourceBuilder.cs
- HMAC.cs
- XDeferredAxisSource.cs
- TableChangeProcessor.cs
- LogFlushAsyncResult.cs
- PrintDialogException.cs
- PngBitmapDecoder.cs
- ToolStripContainer.cs
- JpegBitmapEncoder.cs
- ProxyManager.cs
- WebPartManager.cs
- CalendarDataBindingHandler.cs
- CommandDesigner.cs
- ResolveNameEventArgs.cs
- DiagnosticsConfigurationHandler.cs
- DeflateStream.cs
- DeploymentSectionCache.cs
- CodeAssignStatement.cs
- StoryFragments.cs
- JavaScriptObjectDeserializer.cs
- SyntaxCheck.cs
- SpecularMaterial.cs
- ResourceDescriptionAttribute.cs
- HttpResponseHeader.cs
- MatrixTransform.cs