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
- CaseStatementSlot.cs
- Pkcs9Attribute.cs
- ToolStripHighContrastRenderer.cs
- DataMember.cs
- MultipleCopiesCollection.cs
- LayoutSettings.cs
- ActivityWithResultConverter.cs
- BreadCrumbTextConverter.cs
- XPathMessageFilter.cs
- XmlDownloadManager.cs
- ToolStripRendererSwitcher.cs
- Overlapped.cs
- OleAutBinder.cs
- FormsAuthenticationModule.cs
- VirtualizingStackPanel.cs
- ListItemParagraph.cs
- InheritanceAttribute.cs
- BadImageFormatException.cs
- InvokeMethodDesigner.xaml.cs
- ChangesetResponse.cs
- SecurityTokenInclusionMode.cs
- TableAutomationPeer.cs
- FixedPageAutomationPeer.cs
- Compiler.cs
- ECDiffieHellman.cs
- RemoteWebConfigurationHost.cs
- EventNotify.cs
- ConfigurationErrorsException.cs
- XMLUtil.cs
- XdrBuilder.cs
- M3DUtil.cs
- CodeAccessPermission.cs
- AVElementHelper.cs
- DependencyObjectCodeDomSerializer.cs
- HierarchicalDataSourceConverter.cs
- ErrorHandler.cs
- DbConnectionStringBuilder.cs
- ListControlDataBindingHandler.cs
- StorageSetMapping.cs
- WebRequestModulesSection.cs
- ListControlConvertEventArgs.cs
- TitleStyle.cs
- DecimalStorage.cs
- SecurityPolicySection.cs
- GeometryModel3D.cs
- CacheEntry.cs
- DataGridCellsPanel.cs
- Int64KeyFrameCollection.cs
- GeneralTransformCollection.cs
- InheritanceRules.cs
- UserControlAutomationPeer.cs
- DataGridRelationshipRow.cs
- HighlightVisual.cs
- SystemParameters.cs
- PathSegmentCollection.cs
- InvariantComparer.cs
- PackageDigitalSignature.cs
- AdjustableArrowCap.cs
- EmptyStringExpandableObjectConverter.cs
- BamlLocalizer.cs
- ItemCheckedEvent.cs
- SchemaManager.cs
- Clause.cs
- SqlParameterCollection.cs
- CancellableEnumerable.cs
- StaticFileHandler.cs
- IssuedSecurityTokenProvider.cs
- ConnectionProviderAttribute.cs
- Quaternion.cs
- PriorityBindingExpression.cs
- AstTree.cs
- HttpModuleActionCollection.cs
- ToolStripItemRenderEventArgs.cs
- TextEditorCharacters.cs
- TableLayoutPanelCellPosition.cs
- TraceSource.cs
- EventManager.cs
- ByteStack.cs
- CodeSnippetTypeMember.cs
- EntityDataSourceViewSchema.cs
- ConfigXmlReader.cs
- MetadataArtifactLoaderComposite.cs
- StylusPointCollection.cs
- SchemaType.cs
- SessionSwitchEventArgs.cs
- BitmapDecoder.cs
- DetailsViewRow.cs
- Function.cs
- SRef.cs
- PaintValueEventArgs.cs
- SafeReversePInvokeHandle.cs
- DataServiceConfiguration.cs
- LeftCellWrapper.cs
- StringStorage.cs
- ControlFilterExpression.cs
- GlyphInfoList.cs
- XmlLanguageConverter.cs
- ThicknessKeyFrameCollection.cs
- brushes.cs
- documentsequencetextcontainer.cs