Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / FormViewInsertedEventArgs.cs / 1 / FormViewInsertedEventArgs.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 FormViewInsertedEventArgs : EventArgs { private int _affectedRows; private Exception _exception; private bool _exceptionHandled; private bool _keepInInsertMode; private IOrderedDictionary _values; ///Provides data for some ///events. /// public FormViewInsertedEventArgs(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
- CreatingCookieEventArgs.cs
- PartialCachingControl.cs
- BinaryReader.cs
- PopupRootAutomationPeer.cs
- TimeoutException.cs
- JoinElimination.cs
- ErrorWebPart.cs
- PolyQuadraticBezierSegment.cs
- NamespaceTable.cs
- RenameRuleObjectDialog.Designer.cs
- EmptyEnumerator.cs
- ShaderEffect.cs
- DataGridViewCellStyle.cs
- ObjectItemCollection.cs
- EmptyControlCollection.cs
- LinkDesigner.cs
- CalendarAutomationPeer.cs
- DurationConverter.cs
- DataRecordInfo.cs
- DateBoldEvent.cs
- XNodeSchemaApplier.cs
- TextBreakpoint.cs
- TreeNode.cs
- ImageDrawing.cs
- UriSection.cs
- Predicate.cs
- ServiceRouteHandler.cs
- ConfigErrorGlyph.cs
- WorkerRequest.cs
- TextBoxAutomationPeer.cs
- SuppressMergeCheckAttribute.cs
- CodeObjectCreateExpression.cs
- ContextProperty.cs
- StoreContentChangedEventArgs.cs
- ProjectionPlanCompiler.cs
- TreeView.cs
- _SpnDictionary.cs
- ActivityMarkupSerializer.cs
- WorkflowEventArgs.cs
- RoutedEventArgs.cs
- DataGridViewComboBoxColumn.cs
- DataListItemEventArgs.cs
- HTMLTextWriter.cs
- AppearanceEditorPart.cs
- DbExpressionRules.cs
- Canonicalizers.cs
- FilteredDataSetHelper.cs
- BaseUriHelper.cs
- DataServiceExpressionVisitor.cs
- ZoomPercentageConverter.cs
- SoapAttributeAttribute.cs
- TemplateParser.cs
- TokenBasedSetEnumerator.cs
- XLinq.cs
- FontSourceCollection.cs
- TransformValueSerializer.cs
- metadatamappinghashervisitor.cs
- DiscoveryMessageSequence11.cs
- ContextStaticAttribute.cs
- MimeFormatter.cs
- ValidatorCompatibilityHelper.cs
- SqlNode.cs
- Context.cs
- TextPointerBase.cs
- HttpApplication.cs
- PropertyPathConverter.cs
- SystemMulticastIPAddressInformation.cs
- BitSet.cs
- GridView.cs
- XmlSerializerSection.cs
- PageEventArgs.cs
- NumericExpr.cs
- X509Chain.cs
- GifBitmapDecoder.cs
- DetailsViewPageEventArgs.cs
- DesignerCalendarAdapter.cs
- RuntimeConfigLKG.cs
- SafeBitVector32.cs
- oledbmetadatacolumnnames.cs
- ImageListUtils.cs
- PenContext.cs
- MembershipPasswordException.cs
- MonitoringDescriptionAttribute.cs
- MatrixTransform3D.cs
- MobileRedirect.cs
- ListViewGroupItemCollection.cs
- CodeMemberEvent.cs
- LongCountAggregationOperator.cs
- ContextConfiguration.cs
- BaseTemplateBuildProvider.cs
- DataGridViewCellStateChangedEventArgs.cs
- WebPartDisplayMode.cs
- TableCellAutomationPeer.cs
- SrgsElementFactoryCompiler.cs
- HashCryptoHandle.cs
- VirtualDirectoryMappingCollection.cs
- Binding.cs
- IsolationInterop.cs
- LineUtil.cs
- GlyphTypeface.cs