Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewUpdateEventArgs.cs / 1 / DetailsViewUpdateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; 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 DetailsViewUpdateEventArgs : CancelEventArgs { private object _commandArgument; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public DetailsViewUpdateEventArgs(object commandArgument) : base(false) { this._commandArgument = commandArgument; } ///Initializes a new instance of the ////// class. /// public object CommandArgument { get { return _commandArgument; } } ///Gets the argument to the command posted to the ///. This property is read-only. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with updated row values. This property is read-only. ////// public IOrderedDictionary NewValues { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } ///Gets a OrderedDictionary to populate with updated row values. This property is read-only. ////// public IOrderedDictionary OldValues { get { if (_oldValues == null) { _oldValues = new OrderedDictionary(); } return _oldValues; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; 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 DetailsViewUpdateEventArgs : CancelEventArgs { private object _commandArgument; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public DetailsViewUpdateEventArgs(object commandArgument) : base(false) { this._commandArgument = commandArgument; } ///Initializes a new instance of the ////// class. /// public object CommandArgument { get { return _commandArgument; } } ///Gets the argument to the command posted to the ///. This property is read-only. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with updated row values. This property is read-only. ////// public IOrderedDictionary NewValues { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } ///Gets a OrderedDictionary to populate with updated row values. This property is read-only. ////// public IOrderedDictionary OldValues { get { if (_oldValues == null) { _oldValues = new OrderedDictionary(); } return _oldValues; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DBConnectionString.cs
- ArrayTypeMismatchException.cs
- Hyperlink.cs
- KeyboardDevice.cs
- DllNotFoundException.cs
- CalendarTable.cs
- PrePostDescendentsWalker.cs
- SiteMapDataSourceView.cs
- BooleanAnimationUsingKeyFrames.cs
- ConnectionPointCookie.cs
- SmtpCommands.cs
- RecordsAffectedEventArgs.cs
- EntityDataSourceChangedEventArgs.cs
- MembershipValidatePasswordEventArgs.cs
- LineServicesCallbacks.cs
- LogEntryHeaderDeserializer.cs
- SystemIPv6InterfaceProperties.cs
- Privilege.cs
- ObjectViewQueryResultData.cs
- ParseChildrenAsPropertiesAttribute.cs
- LedgerEntryCollection.cs
- GetWinFXPath.cs
- sqlnorm.cs
- RedistVersionInfo.cs
- ErasingStroke.cs
- FillRuleValidation.cs
- WindowInteropHelper.cs
- ZipIORawDataFileBlock.cs
- BamlReader.cs
- DesignerImageAdapter.cs
- OpCellTreeNode.cs
- SapiInterop.cs
- ResourcesChangeInfo.cs
- LinkButton.cs
- AssemblyNameProxy.cs
- Int16KeyFrameCollection.cs
- CompilerParameters.cs
- TraceContextEventArgs.cs
- AnonymousIdentificationSection.cs
- DependencyPropertyConverter.cs
- SchemaImporterExtensionsSection.cs
- SmiMetaData.cs
- GacUtil.cs
- RegexMatchCollection.cs
- WebEventTraceProvider.cs
- XmlIlTypeHelper.cs
- UIAgentCrashedException.cs
- TextPointer.cs
- RtType.cs
- DispatcherObject.cs
- ApplyTemplatesAction.cs
- Baml2006Reader.cs
- DispatchChannelSink.cs
- TdsRecordBufferSetter.cs
- XPathNodePointer.cs
- DataRecordObjectView.cs
- ComponentResourceKey.cs
- ToolStripItemTextRenderEventArgs.cs
- VisualStyleRenderer.cs
- SqlTriggerContext.cs
- followingsibling.cs
- WebPartsPersonalizationAuthorization.cs
- ComponentDispatcher.cs
- FormatterServices.cs
- formatstringdialog.cs
- GridViewCancelEditEventArgs.cs
- Hashtable.cs
- LinqDataSource.cs
- XmlSchema.cs
- MissingManifestResourceException.cs
- LinkedResource.cs
- TypeKeyValue.cs
- SerializationObjectManager.cs
- StagingAreaInputItem.cs
- ZoomPercentageConverter.cs
- CreationContext.cs
- XmlDataSourceView.cs
- Menu.cs
- OciHandle.cs
- HttpListenerException.cs
- SelectionChangedEventArgs.cs
- WindowsImpersonationContext.cs
- HttpResponseHeader.cs
- FolderBrowserDialog.cs
- StaticExtension.cs
- WriteableOnDemandStream.cs
- CryptoStream.cs
- MissingFieldException.cs
- DataServiceHost.cs
- ToolBarTray.cs
- MenuItemStyleCollectionEditor.cs
- NullEntityWrapper.cs
- CookieProtection.cs
- PeerObject.cs
- RecognizedAudio.cs
- FormatSettings.cs
- SerialPort.cs
- JobDuplex.cs
- AssociationType.cs
- SQLDateTime.cs