Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewInsertedEventArgs.cs / 1 / DetailsViewInsertedEventArgs.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 DetailsViewInsertedEventArgs : EventArgs { private int _affectedRows; private Exception _exception; private bool _exceptionHandled; private bool _keepInInsertMode; private IOrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewInsertedEventArgs(int affectedRows, Exception e) { this._affectedRows = affectedRows; this._exceptionHandled = false; this._exception = e; this._keepInInsertMode = false; } ///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 bool KeepInInsertMode { get { return _keepInInsertMode; } set { _keepInInsertMode = value; } } ///Gets or sets whether the control should be rebound. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } internal void SetValues(IOrderedDictionary values) { _values = values; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Gets a OrderedDictionary to populate with inserted row values. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecurityTokenAuthenticator.cs
- DesignTimeTemplateParser.cs
- StructuredProperty.cs
- AssociationTypeEmitter.cs
- TreeNodeMouseHoverEvent.cs
- HtmlTableRow.cs
- DrawingContextDrawingContextWalker.cs
- DetailsViewUpdateEventArgs.cs
- CryptoConfig.cs
- PackUriHelper.cs
- DrawToolTipEventArgs.cs
- EntityViewGenerationConstants.cs
- DataColumnMappingCollection.cs
- Math.cs
- ImageKeyConverter.cs
- ComboBox.cs
- SubMenuStyle.cs
- EndpointDiscoveryBehavior.cs
- DataGridColumnFloatingHeader.cs
- TextFindEngine.cs
- DbgCompiler.cs
- MessagePropertyVariants.cs
- SafeNativeMethods.cs
- PlaceHolder.cs
- Column.cs
- Point.cs
- WindowInteractionStateTracker.cs
- CodeObject.cs
- DbConnectionPoolGroup.cs
- ConsoleEntryPoint.cs
- DataBoundControl.cs
- ExpandSegment.cs
- XslCompiledTransform.cs
- DesignerView.Commands.cs
- ImageCollectionCodeDomSerializer.cs
- DotAtomReader.cs
- XPathNode.cs
- CSharpCodeProvider.cs
- ScanQueryOperator.cs
- ArraySet.cs
- InstanceDataCollection.cs
- GridSplitter.cs
- Directory.cs
- XmlElementList.cs
- ComplexBindingPropertiesAttribute.cs
- UriScheme.cs
- WebResponse.cs
- ParserOptions.cs
- TimeStampChecker.cs
- OrthographicCamera.cs
- EventProvider.cs
- ImageFormat.cs
- ReflectionUtil.cs
- SqlConnectionHelper.cs
- FrameworkContentElement.cs
- ConfigurationSectionHelper.cs
- regiisutil.cs
- WebPermission.cs
- XPathPatternParser.cs
- FileSystemWatcher.cs
- UIElement.cs
- SqlDataSourceCache.cs
- AdjustableArrowCap.cs
- _AuthenticationState.cs
- InputBinding.cs
- InnerItemCollectionView.cs
- ExtensionQuery.cs
- Button.cs
- DataGridViewComboBoxEditingControl.cs
- DataGridViewImageColumn.cs
- Part.cs
- OdbcParameterCollection.cs
- CompiledIdentityConstraint.cs
- PathGeometry.cs
- DataGridViewIntLinkedList.cs
- DesignerVerb.cs
- SendKeys.cs
- SerializationInfoEnumerator.cs
- ContravarianceAdapter.cs
- SpnegoTokenProvider.cs
- RecognizerStateChangedEventArgs.cs
- FragmentQueryProcessor.cs
- OdbcException.cs
- PolyLineSegment.cs
- XmlSecureResolver.cs
- EpmContentDeSerializerBase.cs
- Rect3D.cs
- Socket.cs
- SelectionProcessor.cs
- Accessible.cs
- Logging.cs
- AuthenticationService.cs
- ToolStripPanelRenderEventArgs.cs
- MessageQueueCriteria.cs
- CleanUpVirtualizedItemEventArgs.cs
- EventLogTraceListener.cs
- OletxCommittableTransaction.cs
- GridViewColumnCollectionChangedEventArgs.cs
- DataGridDesigner.cs
- entitydatasourceentitysetnameconverter.cs