Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewUpdateEventArgs.cs / 1305376 / GridViewUpdateEventArgs.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; ////// public class GridViewUpdateEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public GridViewUpdateEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } ///Initializes a new instance of the ////// class. /// 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; } } ///Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ////// public int RowIndex { get { return _rowIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the int argument to the command posted to the ///. 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; ////// public class GridViewUpdateEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public GridViewUpdateEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } ///Initializes a new instance of the ////// class. /// 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; } } ///Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ////// public int RowIndex { get { return _rowIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the int argument to the command posted to the ///. This property is read-only.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SortExpressionBuilder.cs
- PersonalizablePropertyEntry.cs
- Rotation3DKeyFrameCollection.cs
- StylusDevice.cs
- HandleExceptionArgs.cs
- SubstitutionList.cs
- SHA512.cs
- VisemeEventArgs.cs
- TokenizerHelper.cs
- ToolboxService.cs
- HttpResponseHeader.cs
- AsymmetricKeyExchangeFormatter.cs
- PreviewPageInfo.cs
- OuterGlowBitmapEffect.cs
- SqlLiftIndependentRowExpressions.cs
- CodeAttributeDeclaration.cs
- DataGridViewCellStateChangedEventArgs.cs
- SelectionListDesigner.cs
- Msmq3PoisonHandler.cs
- PrimaryKeyTypeConverter.cs
- Run.cs
- SimpleType.cs
- ProjectionRewriter.cs
- XmlTextReaderImpl.cs
- ApplicationSettingsBase.cs
- StaticExtensionConverter.cs
- ConfigPathUtility.cs
- ProviderIncompatibleException.cs
- RegexWriter.cs
- OneOfTypeConst.cs
- DiffuseMaterial.cs
- ExpressionBuilder.cs
- XmlSchemaIdentityConstraint.cs
- X500Name.cs
- CompositeControl.cs
- ApplicationServiceHelper.cs
- WebChannelFactory.cs
- TimeStampChecker.cs
- CancellableEnumerable.cs
- Literal.cs
- DataGrid.cs
- BuildManager.cs
- RequestedSignatureDialog.cs
- Int16AnimationBase.cs
- ToolTipAutomationPeer.cs
- SystemIPInterfaceProperties.cs
- InputLanguageCollection.cs
- CultureTable.cs
- ProxyElement.cs
- DecoderFallback.cs
- ConsoleKeyInfo.cs
- XmlSequenceWriter.cs
- DataObjectFieldAttribute.cs
- XmlSerializer.cs
- ImportCatalogPart.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- MarkupCompilePass1.cs
- BufferModesCollection.cs
- XDRSchema.cs
- DataBoundControlAdapter.cs
- FixedSOMTable.cs
- DataGridViewLinkColumn.cs
- ConstructorNeedsTagAttribute.cs
- DependencyObject.cs
- SerialReceived.cs
- BamlMapTable.cs
- SiteMapHierarchicalDataSourceView.cs
- WebPart.cs
- RoutedEventHandlerInfo.cs
- PositiveTimeSpanValidatorAttribute.cs
- ExpressionBindingCollection.cs
- ButtonFlatAdapter.cs
- DelegatingHeader.cs
- GeometryHitTestParameters.cs
- GroupBox.cs
- RemoteWebConfigurationHost.cs
- EventLog.cs
- TTSEngineTypes.cs
- XmlBindingWorker.cs
- ToolboxItemAttribute.cs
- TreeView.cs
- DataExchangeServiceBinder.cs
- XmlWriterSettings.cs
- StatusBar.cs
- PreviewPrintController.cs
- RadioButton.cs
- Visual3D.cs
- DataGridViewColumn.cs
- EditorZoneBase.cs
- wmiprovider.cs
- ResourceProviderFactory.cs
- FixedBufferAttribute.cs
- JournalEntryStack.cs
- TypeLoadException.cs
- LinqDataSourceView.cs
- ZoneLinkButton.cs
- TypedElement.cs
- ImageMap.cs
- TabletDeviceInfo.cs
- XsltSettings.cs