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
- FixedSOMTable.cs
- Constant.cs
- ServiceNotStartedException.cs
- DataErrorValidationRule.cs
- BitmapEffectGeneralTransform.cs
- SecurityKeyType.cs
- Decimal.cs
- InteropBitmapSource.cs
- Material.cs
- ContentControl.cs
- TransformerInfo.cs
- PackWebResponse.cs
- PixelFormat.cs
- MbpInfo.cs
- DiscoveryClientReferences.cs
- CodeDOMUtility.cs
- XmlQueryCardinality.cs
- ExtensionDataReader.cs
- NetSectionGroup.cs
- TaiwanCalendar.cs
- StylusPointPropertyInfoDefaults.cs
- Send.cs
- CatalogZoneAutoFormat.cs
- WindowsFormsHelpers.cs
- MembershipSection.cs
- MeshGeometry3D.cs
- Image.cs
- DynamicMethod.cs
- Frame.cs
- TTSEngineTypes.cs
- CatalogPartCollection.cs
- DbCommandDefinition.cs
- ChtmlLinkAdapter.cs
- DataMisalignedException.cs
- StringTraceRecord.cs
- DependencyObject.cs
- SettingsPropertyValueCollection.cs
- ImageSourceConverter.cs
- DataGridViewLinkCell.cs
- StorageAssociationSetMapping.cs
- XmlEntity.cs
- Trace.cs
- WmpBitmapDecoder.cs
- ToolStripStatusLabel.cs
- UndoUnit.cs
- LogSwitch.cs
- DataKeyPropertyAttribute.cs
- OleDbCommand.cs
- RunInstallerAttribute.cs
- DbQueryCommandTree.cs
- ClockGroup.cs
- GridViewEditEventArgs.cs
- LingerOption.cs
- DesignerContextDescriptor.cs
- DetailsViewDeleteEventArgs.cs
- Errors.cs
- FixedTextView.cs
- MeshGeometry3D.cs
- CommonRemoteMemoryBlock.cs
- _AutoWebProxyScriptHelper.cs
- FixedSchema.cs
- ConnectionPoint.cs
- ModulesEntry.cs
- RenderCapability.cs
- CompiledRegexRunnerFactory.cs
- AutomationPropertyInfo.cs
- Transform3D.cs
- DataGridViewAdvancedBorderStyle.cs
- PageAsyncTaskManager.cs
- InputProcessorProfilesLoader.cs
- MediaContextNotificationWindow.cs
- XPathNodeList.cs
- FilterElement.cs
- MultidimensionalArrayItemReference.cs
- GridViewRowCollection.cs
- EventSourceCreationData.cs
- BindingsCollection.cs
- DesignerLabelAdapter.cs
- ExpressionConverter.cs
- NativeMethods.cs
- AddValidationError.cs
- HierarchicalDataBoundControl.cs
- Window.cs
- CacheDependency.cs
- MetadataUtil.cs
- BehaviorService.cs
- SizeLimitedCache.cs
- BoundColumn.cs
- CounterSampleCalculator.cs
- AssemblyNameProxy.cs
- DataMemberListEditor.cs
- ArrangedElement.cs
- TrackBarRenderer.cs
- documentsequencetextpointer.cs
- ISessionStateStore.cs
- XmlReflectionImporter.cs
- SecurityDescriptor.cs
- FactoryGenerator.cs
- HtmlInputControl.cs
- LinqDataView.cs