Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewDeleteEventArgs.cs / 1 / DetailsViewDeleteEventArgs.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 DetailsViewDeleteEventArgs : CancelEventArgs {
private int _rowIndex;
private OrderedDictionary _keys;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public DetailsViewDeleteEventArgs(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.
//
//-----------------------------------------------------------------------------
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 DetailsViewDeleteEventArgs : CancelEventArgs {
private int _rowIndex;
private OrderedDictionary _keys;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public DetailsViewDeleteEventArgs(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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PermissionSet.cs
- HostingEnvironment.cs
- ManagementScope.cs
- XmlSchemaSimpleTypeList.cs
- ValidationErrorCollection.cs
- ApplyHostConfigurationBehavior.cs
- MinimizableAttributeTypeConverter.cs
- Zone.cs
- Item.cs
- Serializer.cs
- TransformerInfo.cs
- CompressionTransform.cs
- TrackingProfileSerializer.cs
- DiffuseMaterial.cs
- SqlGenerator.cs
- Message.cs
- ServiceManager.cs
- MediaContext.cs
- Pens.cs
- PerformanceCounterCategory.cs
- _NTAuthentication.cs
- Button.cs
- DataControlPagerLinkButton.cs
- HiddenFieldPageStatePersister.cs
- XamlVector3DCollectionSerializer.cs
- _ProxyChain.cs
- EdmTypeAttribute.cs
- InstallHelper.cs
- SqlCacheDependency.cs
- XmlnsPrefixAttribute.cs
- Point3DAnimationUsingKeyFrames.cs
- TextFormatterHost.cs
- TextureBrush.cs
- jithelpers.cs
- PriorityBindingExpression.cs
- RegexReplacement.cs
- TypeConverterAttribute.cs
- SoapObjectInfo.cs
- DataPagerField.cs
- AssemblyInfo.cs
- PersistenceIOParticipant.cs
- AnnotationMap.cs
- PackageFilter.cs
- CryptoApi.cs
- WebPart.cs
- SQLByte.cs
- PaintEvent.cs
- AppDomainAttributes.cs
- RolePrincipal.cs
- ItemAutomationPeer.cs
- BooleanFacetDescriptionElement.cs
- DocumentViewerBase.cs
- ClientData.cs
- Accessible.cs
- InputBinder.cs
- Baml2006Reader.cs
- StorageModelBuildProvider.cs
- XmlSchemaSimpleTypeRestriction.cs
- ToolStripLocationCancelEventArgs.cs
- PropertyChangingEventArgs.cs
- _AcceptOverlappedAsyncResult.cs
- SqlDependencyUtils.cs
- CodeExpressionStatement.cs
- IProvider.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Variant.cs
- CodeDOMProvider.cs
- DataControlLinkButton.cs
- ModuleConfigurationInfo.cs
- DataRowView.cs
- User.cs
- DataPagerCommandEventArgs.cs
- ComponentChangingEvent.cs
- AdRotator.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- SecurityResources.cs
- HttpPostedFileBase.cs
- EventSourceCreationData.cs
- BitmapEffect.cs
- FileDialog.cs
- AmbientLight.cs
- Int32CAMarshaler.cs
- propertyentry.cs
- ImageEditor.cs
- AppSettingsReader.cs
- DataBinding.cs
- HtmlElement.cs
- PeerHelpers.cs
- SqlCharStream.cs
- PointKeyFrameCollection.cs
- HttpModuleActionCollection.cs
- ListManagerBindingsCollection.cs
- TypeSystem.cs
- Metadata.cs
- DnsEndPoint.cs
- GridViewEditEventArgs.cs
- XDRSchema.cs
- XmlSchemaAnnotated.cs
- SqlUdtInfo.cs
- Size3DConverter.cs