Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewDeleteEventArgs.cs / 1 / GridViewDeleteEventArgs.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 GridViewDeleteEventArgs : CancelEventArgs {
private int _rowIndex;
private OrderedDictionary _keys;
private OrderedDictionary _values;
public GridViewDeleteEventArgs(int rowIndex) : base(false) {
this._rowIndex = rowIndex;
}
public int RowIndex {
get {
return _rowIndex;
}
}
///
/// Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only.
///
public IOrderedDictionary Keys {
get {
if (_keys == null) {
_keys = new OrderedDictionary();
}
return _keys;
}
}
///
/// Gets a keyed list to populate with old row values. This property is read-only.
///
public IOrderedDictionary Values {
get {
if (_values == null) {
_values = new OrderedDictionary();
}
return _values;
}
}
}
}
// 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
- ProxyWebPartManager.cs
- EntityDataSourceEntitySetNameItem.cs
- Compiler.cs
- DbFunctionCommandTree.cs
- DesignerForm.cs
- ListViewTableRow.cs
- CodeSnippetCompileUnit.cs
- ResourceProviderFactory.cs
- ConfigurationStrings.cs
- WebPartConnectionCollection.cs
- FixedSOMElement.cs
- CompressionTransform.cs
- SqlFunctionAttribute.cs
- Subtree.cs
- ImageAutomationPeer.cs
- UriTemplateClientFormatter.cs
- ThreadExceptionDialog.cs
- PackagePartCollection.cs
- X509ClientCertificateCredentialsElement.cs
- DrawingImage.cs
- ADRole.cs
- basevalidator.cs
- GridView.cs
- FrameworkContentElement.cs
- ManualResetEvent.cs
- ReceiveSecurityHeaderEntry.cs
- ValidatedControlConverter.cs
- VirtualStackFrame.cs
- Compiler.cs
- DbTransaction.cs
- HMACRIPEMD160.cs
- NamedObjectList.cs
- PageAsyncTask.cs
- ProviderSettings.cs
- SHA512.cs
- ObjectToken.cs
- TextDecorations.cs
- FactoryGenerator.cs
- CodeDomDecompiler.cs
- ScriptModule.cs
- FirstMatchCodeGroup.cs
- entityreference_tresulttype.cs
- Constants.cs
- ObjectDataSourceChooseTypePanel.cs
- Message.cs
- PackageDigitalSignature.cs
- IImplicitResourceProvider.cs
- FixedSOMTable.cs
- TextStore.cs
- CipherData.cs
- WS2007HttpBindingCollectionElement.cs
- HandleCollector.cs
- ExpandableObjectConverter.cs
- ZipPackage.cs
- Model3DGroup.cs
- IdentityModelStringsVersion1.cs
- PathGradientBrush.cs
- TransformPatternIdentifiers.cs
- Token.cs
- RoleManagerSection.cs
- RuleSetDialog.Designer.cs
- Random.cs
- SimpleType.cs
- XPathAxisIterator.cs
- MatchSingleFxEngineOpcode.cs
- SqlDeflator.cs
- AccessKeyManager.cs
- ProxyWebPart.cs
- GrabHandleGlyph.cs
- DocComment.cs
- RightsManagementEncryptedStream.cs
- WebServiceMethodData.cs
- MessagePropertyVariants.cs
- ClrPerspective.cs
- InheritedPropertyDescriptor.cs
- Rect3DValueSerializer.cs
- PageMediaSize.cs
- SyntaxCheck.cs
- Line.cs
- MemberInfoSerializationHolder.cs
- StringCollection.cs
- InnerItemCollectionView.cs
- InputScopeConverter.cs
- MailWriter.cs
- GlobalizationAssembly.cs
- HtmlTable.cs
- StandardCommands.cs
- DependencyObjectType.cs
- SymmetricCryptoHandle.cs
- DrawingAttributeSerializer.cs
- DefaultBinder.cs
- Floater.cs
- Table.cs
- PropertiesTab.cs
- PointLight.cs
- ClientSettings.cs
- DataServiceQuery.cs
- Helpers.cs
- SoapMessage.cs
- MatrixTransform.cs