Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewInsertedEventArgs.cs / 1305376 / DetailsViewInsertedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections.Specialized; using System.ComponentModel; ////// 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. //------------------------------------------------------------------------------ //Gets a OrderedDictionary to populate with inserted 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 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.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
- BinaryExpression.cs
- CacheSection.cs
- XmlAttributeProperties.cs
- CursorConverter.cs
- ProjectionCamera.cs
- PartialTrustVisibleAssembly.cs
- DataPagerFieldCommandEventArgs.cs
- DataSpaceManager.cs
- ComponentCollection.cs
- StylusPointPropertyInfoDefaults.cs
- Context.cs
- InternalBufferOverflowException.cs
- VisualTarget.cs
- WebPartVerb.cs
- RelationshipNavigation.cs
- PresentationSource.cs
- activationcontext.cs
- Misc.cs
- Collection.cs
- InstalledFontCollection.cs
- DesignerActionTextItem.cs
- DataViewListener.cs
- UriSection.cs
- ControlTemplate.cs
- FrugalList.cs
- Matrix3DValueSerializer.cs
- Transform3DGroup.cs
- ActivityPropertyReference.cs
- PackagePart.cs
- CharEntityEncoderFallback.cs
- BamlMapTable.cs
- SoapHeaderAttribute.cs
- NetworkStream.cs
- DateTimeSerializationSection.cs
- HelpExampleGenerator.cs
- RootBrowserWindowAutomationPeer.cs
- StsCommunicationException.cs
- _IPv6Address.cs
- ActivityDesignerHelper.cs
- PasswordPropertyTextAttribute.cs
- SynchronizedMessageSource.cs
- Timer.cs
- StructuralCache.cs
- WebDisplayNameAttribute.cs
- AdvancedBindingEditor.cs
- COM2PropertyPageUITypeConverter.cs
- BitmapEffect.cs
- TablePattern.cs
- GridItem.cs
- ConfigViewGenerator.cs
- AssemblyEvidenceFactory.cs
- DataObject.cs
- SQLDecimal.cs
- Profiler.cs
- MsmqIntegrationProcessProtocolHandler.cs
- ReturnEventArgs.cs
- XmlSchemaImporter.cs
- Rectangle.cs
- AccessText.cs
- FormatterServices.cs
- MonitoringDescriptionAttribute.cs
- Light.cs
- HtmlTableRowCollection.cs
- NonSerializedAttribute.cs
- ToolStripItem.cs
- LexicalChunk.cs
- EditableLabelControl.cs
- KeyboardNavigation.cs
- SiteMapNodeItem.cs
- SelectedDatesCollection.cs
- HitTestWithPointDrawingContextWalker.cs
- LinqDataSourceContextData.cs
- SmtpException.cs
- XPathEmptyIterator.cs
- ScrollChrome.cs
- QilList.cs
- TracePayload.cs
- ConfigurationSettings.cs
- QualifierSet.cs
- OAVariantLib.cs
- DataGridViewAdvancedBorderStyle.cs
- DataGridTextBoxColumn.cs
- RegistryKey.cs
- ContainsSearchOperator.cs
- ContractComponent.cs
- CodeSnippetStatement.cs
- Authorization.cs
- QualificationDataAttribute.cs
- SmiMetaDataProperty.cs
- RowUpdatingEventArgs.cs
- ImplicitInputBrush.cs
- ResourceFallbackManager.cs
- ListManagerBindingsCollection.cs
- FormViewPageEventArgs.cs
- TemplateControlBuildProvider.cs
- CommandEventArgs.cs
- SizeKeyFrameCollection.cs
- DataBoundControlHelper.cs
- TextAnchor.cs
- SystemBrushes.cs