Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewDeletedEventArgs.cs / 1305376 / GridViewDeletedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Collections.Specialized; using System.ComponentModel; ////// public class GridViewDeletedEventArgs : EventArgs { private int _affectedRows; private Exception _exception; private bool _exceptionHandled; private IOrderedDictionary _keys; private IOrderedDictionary _values; ///Provides data for some ///events. /// public GridViewDeletedEventArgs(int affectedRows, Exception e) { this._affectedRows = affectedRows; this._exceptionHandled = false; this._exception = e; } ///Initializes a new instance of the ////// class. /// public int AffectedRows { get { return _affectedRows; } } ///Gets the source of the command. This property is read-only. ////// public Exception Exception { get { return _exception; } } ///Gets the exception (if any) that occurred during the operation. This property is read-only. ////// public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } ///Gets a flag telling whether the exception was handled. ////// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } internal void SetKeys(IOrderedDictionary keys) { _keys = keys; } internal void SetValues(IOrderedDictionary values) { _values = values; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a keyed list to populate with old row values. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Collections.Specialized; using System.ComponentModel; ////// public class GridViewDeletedEventArgs : EventArgs { private int _affectedRows; private Exception _exception; private bool _exceptionHandled; private IOrderedDictionary _keys; private IOrderedDictionary _values; ///Provides data for some ///events. /// public GridViewDeletedEventArgs(int affectedRows, Exception e) { this._affectedRows = affectedRows; this._exceptionHandled = false; this._exception = e; } ///Initializes a new instance of the ////// class. /// public int AffectedRows { get { return _affectedRows; } } ///Gets the source of the command. This property is read-only. ////// public Exception Exception { get { return _exception; } } ///Gets the exception (if any) that occurred during the operation. This property is read-only. ////// public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } ///Gets a flag telling whether the exception was handled. ////// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } internal void SetKeys(IOrderedDictionary keys) { _keys = keys; } internal void SetValues(IOrderedDictionary values) { _values = values; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a keyed list to populate with old row values. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GetKeyedHashRequest.cs
- StateItem.cs
- SQLConvert.cs
- Executor.cs
- ItemCollection.cs
- ContextMenu.cs
- TextServicesManager.cs
- TextPatternIdentifiers.cs
- CompilerResults.cs
- BamlTreeNode.cs
- CultureInfo.cs
- XmlCharCheckingWriter.cs
- Journal.cs
- StringBlob.cs
- FrameworkContentElement.cs
- Color.cs
- DataGridViewRowPostPaintEventArgs.cs
- DbConnectionPoolOptions.cs
- TrackingMemoryStream.cs
- EntityProxyFactory.cs
- ScriptingJsonSerializationSection.cs
- TextTabProperties.cs
- ProxyAttribute.cs
- TableCell.cs
- DataRowChangeEvent.cs
- InstanceKeyView.cs
- LocalizationComments.cs
- PackagingUtilities.cs
- SmiEventSink_DeferedProcessing.cs
- ConditionalAttribute.cs
- Rotation3DAnimation.cs
- ZipPackage.cs
- TransformFinalBlockRequest.cs
- DataGridViewLinkColumn.cs
- MimePart.cs
- X509Certificate2.cs
- Socket.cs
- WindowsSecurityTokenAuthenticator.cs
- ObjectResult.cs
- RootNamespaceAttribute.cs
- DBBindings.cs
- EventProxy.cs
- UIntPtr.cs
- WebUtility.cs
- UnitySerializationHolder.cs
- SkinBuilder.cs
- RsaKeyIdentifierClause.cs
- Point4D.cs
- RTLAwareMessageBox.cs
- MultipartContentParser.cs
- Component.cs
- NavigatorOutput.cs
- GenerateHelper.cs
- TypePresenter.xaml.cs
- BindingExpressionBase.cs
- InheritanceContextHelper.cs
- TimerExtension.cs
- TdsParser.cs
- SmtpTransport.cs
- DesignTimeHTMLTextWriter.cs
- NativeActivityAbortContext.cs
- WebPartMovingEventArgs.cs
- GeneralTransform2DTo3D.cs
- GPPOINT.cs
- ServiceInfo.cs
- HGlobalSafeHandle.cs
- COM2TypeInfoProcessor.cs
- Version.cs
- WebHttpSecurityModeHelper.cs
- KeyGesture.cs
- SerTrace.cs
- TraceEventCache.cs
- Form.cs
- ColorMatrix.cs
- StdValidatorsAndConverters.cs
- MdiWindowListStrip.cs
- ProjectedSlot.cs
- TextBoxAutoCompleteSourceConverter.cs
- PropertyHelper.cs
- WebPartConnectionsCancelEventArgs.cs
- TransformerTypeCollection.cs
- UserNameSecurityToken.cs
- HtmlUtf8RawTextWriter.cs
- Options.cs
- RightsManagementManager.cs
- TreeViewImageKeyConverter.cs
- SqlCacheDependency.cs
- ToolStripItemDesigner.cs
- DateTimeFormat.cs
- SqlConnectionPoolGroupProviderInfo.cs
- WindowsTitleBar.cs
- CookieParameter.cs
- SectionUpdates.cs
- SqlProfileProvider.cs
- TypedElement.cs
- AspNetSynchronizationContext.cs
- RequiredFieldValidator.cs
- BmpBitmapDecoder.cs
- Token.cs
- Journal.cs