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
- RuleAction.cs
- XmlTextEncoder.cs
- BmpBitmapDecoder.cs
- ToolStripItem.cs
- CheckBox.cs
- AxDesigner.cs
- PathFigureCollectionConverter.cs
- processwaithandle.cs
- Missing.cs
- CodeTypeDelegate.cs
- InputLanguageEventArgs.cs
- SerialReceived.cs
- InputLanguageCollection.cs
- ZipIOExtraFieldPaddingElement.cs
- AvTraceDetails.cs
- TransactionFlowBindingElement.cs
- CompositeScriptReference.cs
- SimpleMailWebEventProvider.cs
- SudsCommon.cs
- ComponentManagerBroker.cs
- SocketException.cs
- AuditLog.cs
- ThicknessAnimationUsingKeyFrames.cs
- Single.cs
- Listbox.cs
- PropertyGridEditorPart.cs
- SqlParameterCollection.cs
- DispatcherProcessingDisabled.cs
- ValidatingCollection.cs
- TemplateComponentConnector.cs
- GPRECT.cs
- IntPtr.cs
- TemplateBindingExtension.cs
- KeyGestureValueSerializer.cs
- DataTemplate.cs
- TemplatePropertyEntry.cs
- SiteMapHierarchicalDataSourceView.cs
- FontInfo.cs
- QuaternionValueSerializer.cs
- validation.cs
- DataGridViewSelectedColumnCollection.cs
- ObjectQuery.cs
- CultureTableRecord.cs
- ExpressionVisitor.cs
- System.Data_BID.cs
- TraceContext.cs
- TextAnchor.cs
- ProcessModelSection.cs
- PrimitiveCodeDomSerializer.cs
- InputEventArgs.cs
- XhtmlBasicPageAdapter.cs
- FactoryRecord.cs
- FieldAccessException.cs
- ZoomingMessageFilter.cs
- Visual3D.cs
- JsonByteArrayDataContract.cs
- PropertyRef.cs
- dbdatarecord.cs
- TreeIterators.cs
- MarshalByRefObject.cs
- PerfCounterSection.cs
- GlyphingCache.cs
- PinnedBufferMemoryStream.cs
- ScrollProviderWrapper.cs
- loginstatus.cs
- EventData.cs
- GZipStream.cs
- SQLDecimal.cs
- MessageBox.cs
- DocumentViewerHelper.cs
- OdbcReferenceCollection.cs
- DependencyPropertyHelper.cs
- PixelFormatConverter.cs
- CodeCastExpression.cs
- CodePageEncoding.cs
- NullableFloatAverageAggregationOperator.cs
- PkcsMisc.cs
- EmptyReadOnlyDictionaryInternal.cs
- WebPartsSection.cs
- TemplateControlParser.cs
- SecurityState.cs
- ListViewGroupConverter.cs
- IsolatedStorageFile.cs
- EntityReference.cs
- UserControl.cs
- MessageQueuePermissionEntryCollection.cs
- DataContractJsonSerializerOperationBehavior.cs
- MetadataUtilsSmi.cs
- Roles.cs
- SymmetricKeyWrap.cs
- RtfNavigator.cs
- XamlFilter.cs
- RawStylusInputReport.cs
- ToolStripStatusLabel.cs
- Composition.cs
- SetStoryboardSpeedRatio.cs
- updatecommandorderer.cs
- RequestCachingSection.cs
- XmlChildEnumerator.cs
- StateWorkerRequest.cs