Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } }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
- DrawingVisual.cs
- AxisAngleRotation3D.cs
- VersionedStreamOwner.cs
- Image.cs
- FileLevelControlBuilderAttribute.cs
- Int16Storage.cs
- TimeSpanConverter.cs
- UdpDiscoveryEndpointElement.cs
- DefaultTextStore.cs
- SoapInteropTypes.cs
- FactoryGenerator.cs
- XmlAttributeCollection.cs
- CurrentChangingEventArgs.cs
- WorkflowViewElement.cs
- ItemContainerGenerator.cs
- CryptographicAttribute.cs
- ISCIIEncoding.cs
- ListViewGroupItemCollection.cs
- Thread.cs
- VariantWrapper.cs
- WindowsGraphicsCacheManager.cs
- GridViewUpdateEventArgs.cs
- SafeFreeMibTable.cs
- ImageProxy.cs
- MaskPropertyEditor.cs
- counter.cs
- SourceSwitch.cs
- DesignerTextWriter.cs
- DataSourceControlBuilder.cs
- SerializerWriterEventHandlers.cs
- ThemeDirectoryCompiler.cs
- TemplateField.cs
- SubMenuStyle.cs
- DateTimeConverter.cs
- SafeCryptContextHandle.cs
- WebSysDefaultValueAttribute.cs
- CodeSnippetExpression.cs
- ParserOptions.cs
- TokenizerHelper.cs
- HitTestWithGeometryDrawingContextWalker.cs
- Imaging.cs
- JsonDeserializer.cs
- ProfileManager.cs
- ErrorLog.cs
- WindowsButton.cs
- sortedlist.cs
- ping.cs
- SqlHelper.cs
- IisTraceWebEventProvider.cs
- LassoHelper.cs
- OdbcCommand.cs
- SystemDiagnosticsSection.cs
- TraceSection.cs
- Span.cs
- Repeater.cs
- GradientStop.cs
- RemotingService.cs
- _DomainName.cs
- CodeExpressionCollection.cs
- UniqueConstraint.cs
- TreeNodeBindingCollection.cs
- XmlDesignerDataSourceView.cs
- StrokeNodeData.cs
- JsonXmlDataContract.cs
- SessionStateItemCollection.cs
- Helpers.cs
- ClickablePoint.cs
- CqlQuery.cs
- TableItemPattern.cs
- ListViewItem.cs
- EtwTrace.cs
- UInt16.cs
- WebPartTransformerCollection.cs
- ProfileService.cs
- SqlGenericUtil.cs
- SafeRightsManagementHandle.cs
- AsyncInvokeContext.cs
- PeerTransportSecurityElement.cs
- TypeForwardedToAttribute.cs
- PointIndependentAnimationStorage.cs
- BinaryObjectInfo.cs
- ConversionContext.cs
- TableProvider.cs
- HistoryEventArgs.cs
- TypeUtil.cs
- TextEditorThreadLocalStore.cs
- RadioButtonDesigner.cs
- IntegerValidator.cs
- WindowsTitleBar.cs
- DiagnosticTraceSource.cs
- DictionaryEntry.cs
- HtmlPageAdapter.cs
- CreatingCookieEventArgs.cs
- DataGridViewColumnEventArgs.cs
- PolyLineSegmentFigureLogic.cs
- OrderedDictionaryStateHelper.cs
- IPAddress.cs
- InvalidFilterCriteriaException.cs
- ContainerVisual.cs
- ChineseLunisolarCalendar.cs