Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TouchEventArgs.cs
- ToolboxItemFilterAttribute.cs
- DocumentGridContextMenu.cs
- PasswordPropertyTextAttribute.cs
- XhtmlBasicSelectionListAdapter.cs
- WebException.cs
- StateBag.cs
- OneWayElement.cs
- ExpressionBuilderCollection.cs
- EllipseGeometry.cs
- XPathCompiler.cs
- AdornerLayer.cs
- GeneralTransform3D.cs
- MouseOverProperty.cs
- CustomErrorsSection.cs
- TextRunCacheImp.cs
- EntityDataSourceDesigner.cs
- JavaScriptObjectDeserializer.cs
- ValidationSummary.cs
- StringSorter.cs
- IApplicationTrustManager.cs
- EmptyEnumerator.cs
- Int32RectConverter.cs
- NonBatchDirectoryCompiler.cs
- ListParagraph.cs
- EnvironmentPermission.cs
- DataGridViewRowEventArgs.cs
- TreeBuilderBamlTranslator.cs
- PenLineJoinValidation.cs
- ReadOnlyDictionary.cs
- DataDocumentXPathNavigator.cs
- InternalConfigHost.cs
- ACE.cs
- X509SubjectKeyIdentifierClause.cs
- XmlProcessingInstruction.cs
- DependencyPropertyValueSerializer.cs
- KeyMatchBuilder.cs
- GroupBox.cs
- LockCookie.cs
- Size3D.cs
- COM2FontConverter.cs
- SmtpReplyReader.cs
- CalendarDay.cs
- DeclaredTypeValidatorAttribute.cs
- TripleDESCryptoServiceProvider.cs
- UdpSocket.cs
- MouseGesture.cs
- DrawingVisual.cs
- ProjectionNode.cs
- TextElement.cs
- DefaultEvaluationContext.cs
- ReadWriteObjectLock.cs
- OleDbRowUpdatedEvent.cs
- TextEmbeddedObject.cs
- WebPartConnectionCollection.cs
- PersistencePipeline.cs
- ReflectionUtil.cs
- ThemeInfoAttribute.cs
- BitmapDownload.cs
- InternalResources.cs
- Menu.cs
- RouteParametersHelper.cs
- KeyInterop.cs
- X509Utils.cs
- VectorCollectionValueSerializer.cs
- ImageFormat.cs
- XPathDocumentNavigator.cs
- LineGeometry.cs
- sqlstateclientmanager.cs
- RedistVersionInfo.cs
- Pool.cs
- ExpressionEditorAttribute.cs
- TemplateBindingExpression.cs
- NewArray.cs
- ExchangeUtilities.cs
- AutomationTextAttribute.cs
- ReaderOutput.cs
- QuaternionRotation3D.cs
- ContextQuery.cs
- WebZone.cs
- TableDetailsCollection.cs
- BooleanSwitch.cs
- ToolboxItemAttribute.cs
- WindowsPrincipal.cs
- InternalConfigRoot.cs
- ResXResourceWriter.cs
- ConfigXmlElement.cs
- Gdiplus.cs
- GeneralTransform3DGroup.cs
- PrintController.cs
- LinkDescriptor.cs
- ValueTypeFixupInfo.cs
- InputReferenceExpression.cs
- FileLogRecordEnumerator.cs
- BmpBitmapDecoder.cs
- DBParameter.cs
- UrlMappingsSection.cs
- ThicknessKeyFrameCollection.cs
- XPathParser.cs
- DbException.cs