Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PermissionAttributes.cs
- NavigationProperty.cs
- ToolStripComboBox.cs
- WhiteSpaceTrimStringConverter.cs
- StringPropertyBuilder.cs
- SafeHandle.cs
- SecurityRuntime.cs
- IndexedWhereQueryOperator.cs
- QuaternionRotation3D.cs
- IdentityModelStringsVersion1.cs
- IsolationInterop.cs
- HandoffBehavior.cs
- ContentControl.cs
- DecoderFallback.cs
- ArgumentsParser.cs
- BuildProviderAppliesToAttribute.cs
- DocobjHost.cs
- XmlReader.cs
- TreeViewImageKeyConverter.cs
- ConditionCollection.cs
- VirtualDirectoryMappingCollection.cs
- AxHostDesigner.cs
- GeneralTransform3D.cs
- AspCompat.cs
- Reference.cs
- WebServiceParameterData.cs
- SelectionEditingBehavior.cs
- ToolStripLabel.cs
- NavigationProgressEventArgs.cs
- TableStyle.cs
- PasswordPropertyTextAttribute.cs
- EntityDataSourceView.cs
- BitmapEffectInput.cs
- DocumentPageTextView.cs
- BufferedGraphicsContext.cs
- FormViewInsertEventArgs.cs
- SortDescription.cs
- Viewport2DVisual3D.cs
- Clock.cs
- ArgumentNullException.cs
- UnmanagedHandle.cs
- PropertyManager.cs
- CatalogPartCollection.cs
- BufferedStream.cs
- ControlPropertyNameConverter.cs
- StateFinalizationDesigner.cs
- PathTooLongException.cs
- RtfControlWordInfo.cs
- NamespaceImport.cs
- WebPartAddingEventArgs.cs
- PropertySegmentSerializer.cs
- ByteStreamMessageEncodingElement.cs
- basecomparevalidator.cs
- BamlTreeMap.cs
- DesignerTransactionCloseEvent.cs
- DictionaryKeyPropertyAttribute.cs
- EndOfStreamException.cs
- DataRecord.cs
- ProjectionPruner.cs
- MarkerProperties.cs
- BreadCrumbTextConverter.cs
- DbInsertCommandTree.cs
- DragEventArgs.cs
- SafeRightsManagementQueryHandle.cs
- _DigestClient.cs
- BezierSegment.cs
- MimeTextImporter.cs
- CatalogZone.cs
- SqlCacheDependencyDatabaseCollection.cs
- EtwTrackingBehaviorElement.cs
- ProfileWorkflowElement.cs
- GridView.cs
- ByteAnimation.cs
- ConfigXmlWhitespace.cs
- SelectionRangeConverter.cs
- Span.cs
- Expander.cs
- WebBrowserBase.cs
- LogReservationCollection.cs
- _HelperAsyncResults.cs
- ArrayWithOffset.cs
- ControlParameter.cs
- AssertSection.cs
- ByeMessageCD1.cs
- XNodeValidator.cs
- InkCanvasSelection.cs
- SelectionItemProviderWrapper.cs
- ControlIdConverter.cs
- ClientSettingsSection.cs
- ToolStripItemClickedEventArgs.cs
- QueryOutputWriter.cs
- BrowserCapabilitiesCompiler.cs
- Int16AnimationBase.cs
- Terminate.cs
- DataControlButton.cs
- BehaviorEditorPart.cs
- ViewGenResults.cs
- odbcmetadatafactory.cs
- SortQueryOperator.cs
- AuthorizationSection.cs