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
- BindableTemplateBuilder.cs
- PersistenceTypeAttribute.cs
- Range.cs
- SecurityElement.cs
- SrgsDocument.cs
- DoubleAnimationBase.cs
- MethodBody.cs
- ModelUIElement3D.cs
- coordinatorscratchpad.cs
- AsyncResult.cs
- BulletedListEventArgs.cs
- BindingListCollectionView.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- SerializableAttribute.cs
- RegexCaptureCollection.cs
- KeyInfo.cs
- Subtree.cs
- DataPagerFieldCommandEventArgs.cs
- XamlSerializerUtil.cs
- RtfFormatStack.cs
- NotificationContext.cs
- AmbientLight.cs
- FaultDescription.cs
- DataBoundControl.cs
- xdrvalidator.cs
- MsmqIntegrationInputChannel.cs
- DocumentScope.cs
- OleDbPermission.cs
- DbReferenceCollection.cs
- Pkcs7Signer.cs
- Stylus.cs
- EntityDataSourceWrapper.cs
- TryExpression.cs
- ContentOperations.cs
- SiteMapDataSourceView.cs
- RtfToken.cs
- KeyInstance.cs
- Translator.cs
- FieldAccessException.cs
- TreeViewEvent.cs
- DefaultTextStore.cs
- ActivityInstanceReference.cs
- NativeCppClassAttribute.cs
- DataGridViewDataErrorEventArgs.cs
- ProxyGenerator.cs
- ProfileInfo.cs
- ContentHostHelper.cs
- SmtpSection.cs
- IndentedWriter.cs
- VectorAnimation.cs
- AutomationPatternInfo.cs
- StorageMappingItemCollection.cs
- RegistryDataKey.cs
- RegexFCD.cs
- DynamicDataRouteHandler.cs
- OrderedEnumerableRowCollection.cs
- HtmlElement.cs
- TextStore.cs
- XmlProcessingInstruction.cs
- HitTestParameters.cs
- MailMessageEventArgs.cs
- SimpleWorkerRequest.cs
- EUCJPEncoding.cs
- AppDomain.cs
- hresults.cs
- DataServiceConfiguration.cs
- QueueProcessor.cs
- ResourcesBuildProvider.cs
- ComponentSerializationService.cs
- BindStream.cs
- FieldToken.cs
- Baml6Assembly.cs
- SqlParameterizer.cs
- ServiceDescription.cs
- OperationPerformanceCounters.cs
- OdbcConnectionHandle.cs
- BindingCollection.cs
- TCPListener.cs
- Html32TextWriter.cs
- CodeTypeMember.cs
- filewebrequest.cs
- SecuritySessionFilter.cs
- ZipIORawDataFileBlock.cs
- BuildResultCache.cs
- XmlQueryTypeFactory.cs
- PointHitTestResult.cs
- CommonObjectSecurity.cs
- HtmlTableCellCollection.cs
- NewArray.cs
- NetSectionGroup.cs
- ClientConfigPaths.cs
- newinstructionaction.cs
- DoubleAnimation.cs
- DataRowComparer.cs
- EntityTypeEmitter.cs
- CompModSwitches.cs
- ConnectionStringsExpressionBuilder.cs
- DataGridViewHitTestInfo.cs
- ActivationArguments.cs
- BasicKeyConstraint.cs