Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. ///// 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
- WebRequestModulesSection.cs
- TaiwanLunisolarCalendar.cs
- DragDrop.cs
- Event.cs
- QueryPageSettingsEventArgs.cs
- XmlChoiceIdentifierAttribute.cs
- SystemIPInterfaceProperties.cs
- TextRange.cs
- DriveInfo.cs
- DynamicObjectAccessor.cs
- MaterialCollection.cs
- SetIndexBinder.cs
- GridViewHeaderRowPresenter.cs
- FrameAutomationPeer.cs
- PolicyException.cs
- complextypematerializer.cs
- IpcClientManager.cs
- TextEncodedRawTextWriter.cs
- ArcSegment.cs
- AppLevelCompilationSectionCache.cs
- RefreshPropertiesAttribute.cs
- HorizontalAlignConverter.cs
- BitmapEffectGroup.cs
- WorkflowStateRollbackService.cs
- ToolStripInSituService.cs
- DependencyObjectPropertyDescriptor.cs
- TypeBuilder.cs
- CreateUserWizard.cs
- StateMachineSubscriptionManager.cs
- Part.cs
- FilePrompt.cs
- ListBindingHelper.cs
- DesignerAttributeInfo.cs
- DateTimeParse.cs
- ExtensionDataReader.cs
- PermissionSet.cs
- EventNotify.cs
- precedingquery.cs
- ConfigXmlText.cs
- DefaultBinder.cs
- DropDownList.cs
- TriggerAction.cs
- DocumentViewer.cs
- FileEnumerator.cs
- LocalizableAttribute.cs
- DependencyPropertyKind.cs
- WebUtility.cs
- XmlWriterTraceListener.cs
- OdbcFactory.cs
- PersonalizationStateInfoCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- CompilationUtil.cs
- WinFormsSpinner.cs
- OleDbParameterCollection.cs
- PageFunction.cs
- MergeEnumerator.cs
- codemethodreferenceexpression.cs
- KeyedCollection.cs
- SafeUserTokenHandle.cs
- SystemIcmpV4Statistics.cs
- DataContractSerializer.cs
- cookie.cs
- _HeaderInfoTable.cs
- ExpandedWrapper.cs
- CachingHintValidation.cs
- PersonalizationEntry.cs
- SamlConstants.cs
- DoubleAnimation.cs
- HttpFileCollectionBase.cs
- Cell.cs
- LookupBindingPropertiesAttribute.cs
- OdbcConnectionOpen.cs
- BatchStream.cs
- EntityStoreSchemaGenerator.cs
- BaseAsyncResult.cs
- TCEAdapterGenerator.cs
- SmiMetaDataProperty.cs
- HwndMouseInputProvider.cs
- HTTPNotFoundHandler.cs
- IPCCacheManager.cs
- RawTextInputReport.cs
- RuleInfoComparer.cs
- UnknownWrapper.cs
- TypeConverters.cs
- DesignSurface.cs
- SecurityContext.cs
- TextRangeEdit.cs
- FormsAuthenticationUserCollection.cs
- ActionNotSupportedException.cs
- Message.cs
- StrongName.cs
- Crypto.cs
- Volatile.cs
- SamlEvidence.cs
- HtmlDocument.cs
- PersonalizationProvider.cs
- SocketAddress.cs
- FixedPage.cs
- DataBindingExpressionBuilder.cs
- Rotation3DAnimation.cs