Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / FormViewDeleteEventArgs.cs / 1305376 / FormViewDeleteEventArgs.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;
///
/// Provides data for some events.
///
public class FormViewDeleteEventArgs : CancelEventArgs {
private int _rowIndex;
private OrderedDictionary _keys;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public FormViewDeleteEventArgs(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;
///
/// Provides data for some events.
///
public class FormViewDeleteEventArgs : CancelEventArgs {
private int _rowIndex;
private OrderedDictionary _keys;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public FormViewDeleteEventArgs(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
- MimeMapping.cs
- InvalidContentTypeException.cs
- GregorianCalendarHelper.cs
- SortedSet.cs
- SuppressMergeCheckAttribute.cs
- ExceptionUtility.cs
- WindowInteropHelper.cs
- Classification.cs
- ToolStripControlHost.cs
- DiscoveryDocumentReference.cs
- CqlParser.cs
- FacetChecker.cs
- DbReferenceCollection.cs
- TransactionContextValidator.cs
- KeyGestureConverter.cs
- CompilerCollection.cs
- WindowsButton.cs
- PropertiesTab.cs
- PanelDesigner.cs
- Marshal.cs
- Binding.cs
- RowUpdatedEventArgs.cs
- SpeechAudioFormatInfo.cs
- MasterPageCodeDomTreeGenerator.cs
- GACMembershipCondition.cs
- RoleService.cs
- QuaternionRotation3D.cs
- WindowAutomationPeer.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SQLBytes.cs
- DbInsertCommandTree.cs
- Console.cs
- PeerApplication.cs
- UpdatePanelTrigger.cs
- TraceLevelStore.cs
- IFlowDocumentViewer.cs
- GiveFeedbackEvent.cs
- OleDbInfoMessageEvent.cs
- DataGridViewColumnCollection.cs
- DbSourceCommand.cs
- LocationUpdates.cs
- CompModSwitches.cs
- ObjectListDesigner.cs
- PersonalizationProvider.cs
- ConnectivityStatus.cs
- HtmlControlPersistable.cs
- TableFieldsEditor.cs
- PersonalizableTypeEntry.cs
- SectionRecord.cs
- EncryptRequest.cs
- SqlBulkCopy.cs
- _StreamFramer.cs
- PropertyTab.cs
- ErrorFormatterPage.cs
- ZoneButton.cs
- DropSourceBehavior.cs
- TextPointer.cs
- StrongNameMembershipCondition.cs
- StyleModeStack.cs
- DataGridViewSelectedCellCollection.cs
- SubpageParaClient.cs
- Dispatcher.cs
- updatecommandorderer.cs
- SqlLiftWhereClauses.cs
- ServiceX509SecurityTokenProvider.cs
- CodeSnippetStatement.cs
- FixedElement.cs
- ColorMatrix.cs
- InternalConfigEventArgs.cs
- PanelDesigner.cs
- ExtendedPropertyDescriptor.cs
- ConnectionPoint.cs
- RoutedEventConverter.cs
- ExpressionLexer.cs
- SmtpFailedRecipientException.cs
- RemotingServices.cs
- SizeChangedInfo.cs
- shaperfactoryquerycacheentry.cs
- DispatchWrapper.cs
- TimeSpanValidatorAttribute.cs
- VectorKeyFrameCollection.cs
- MethodExecutor.cs
- X509Utils.cs
- FieldTemplateFactory.cs
- EditorPart.cs
- _KerberosClient.cs
- WindowVisualStateTracker.cs
- AddInDeploymentState.cs
- NamespaceMapping.cs
- Misc.cs
- WebBrowsableAttribute.cs
- safelink.cs
- ErrorFormatterPage.cs
- ProviderUtil.cs
- templategroup.cs
- SourceLineInfo.cs
- MergePropertyDescriptor.cs
- DataSourceProvider.cs
- ComNativeDescriptor.cs
- XmlConvert.cs