Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewDeletedEventArgs.cs / 1 / GridViewDeletedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Collections.Specialized; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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; } } }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
- ToolStripMenuItemCodeDomSerializer.cs
- DetailsViewRowCollection.cs
- ResourcePool.cs
- AdPostCacheSubstitution.cs
- TextEditorSelection.cs
- ComponentEditorForm.cs
- AttributeEmitter.cs
- DataSourceCacheDurationConverter.cs
- WebCategoryAttribute.cs
- ItemContainerPattern.cs
- XPathConvert.cs
- TimelineCollection.cs
- Size3D.cs
- SqlDataSourceFilteringEventArgs.cs
- EntityTypeEmitter.cs
- XmlObjectSerializer.cs
- XmlDataCollection.cs
- FormParameter.cs
- ManualResetEvent.cs
- CodeMemberMethod.cs
- TypeEnumerableViewSchema.cs
- FormsIdentity.cs
- NativeRightsManagementAPIsStructures.cs
- X509CertificateChain.cs
- Exception.cs
- UrlRoutingHandler.cs
- FixedSOMTextRun.cs
- ConfigurationFileMap.cs
- GridViewRowCollection.cs
- IssuedTokenClientCredential.cs
- SqlRowUpdatedEvent.cs
- NavigateEvent.cs
- Viewport3DVisual.cs
- RoutedEventArgs.cs
- AuthenticationConfig.cs
- dataSvcMapFileLoader.cs
- DependencyPropertyKind.cs
- CollectionTraceRecord.cs
- DataGridViewSelectedRowCollection.cs
- AsymmetricKeyExchangeFormatter.cs
- ConfigPathUtility.cs
- IncrementalCompileAnalyzer.cs
- CodeRegionDirective.cs
- ListBox.cs
- RecordManager.cs
- Vector3DConverter.cs
- Serializer.cs
- MsmqHostedTransportManager.cs
- Publisher.cs
- ProcessHostFactoryHelper.cs
- DataProtection.cs
- RC2CryptoServiceProvider.cs
- ListArgumentProvider.cs
- MeasureItemEvent.cs
- PolyQuadraticBezierSegment.cs
- CqlParser.cs
- brushes.cs
- SqlParameter.cs
- NativeMethods.cs
- AvTraceFormat.cs
- objectresult_tresulttype.cs
- FlatButtonAppearance.cs
- Animatable.cs
- PrimitiveXmlSerializers.cs
- ControlTemplate.cs
- SharedUtils.cs
- SortQuery.cs
- WebPartVerb.cs
- TypographyProperties.cs
- BindingManagerDataErrorEventArgs.cs
- Soap12ProtocolReflector.cs
- WebResourceUtil.cs
- ProfileSettingsCollection.cs
- RadioButton.cs
- RuntimeCompatibilityAttribute.cs
- HtmlFormWrapper.cs
- AutomationElementIdentifiers.cs
- RelationshipEndCollection.cs
- CatalogPartCollection.cs
- JpegBitmapEncoder.cs
- RNGCryptoServiceProvider.cs
- Set.cs
- DocumentPageTextView.cs
- XmlNode.cs
- SmiEventStream.cs
- SqlCacheDependencyDatabase.cs
- ActivityExecutor.cs
- CredentialCache.cs
- MLangCodePageEncoding.cs
- FlagsAttribute.cs
- ExpressionEditorAttribute.cs
- HtmlHistory.cs
- ConfigurationSection.cs
- MulticastOption.cs
- Point4D.cs
- DocumentPageView.cs
- CookieParameter.cs
- OledbConnectionStringbuilder.cs
- CodeDirectionExpression.cs
- TreeNodeCollection.cs