Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewUpdateEventArgs.cs / 1 / 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; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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
- DnsPermission.cs
- TextHintingModeValidation.cs
- ControlUtil.cs
- FastPropertyAccessor.cs
- DataSvcMapFileSerializer.cs
- XsdDuration.cs
- XmlSchemaAttributeGroup.cs
- StorageEntitySetMapping.cs
- StateValidator.cs
- DefaultProfileManager.cs
- SpellerStatusTable.cs
- GeometryHitTestResult.cs
- WSTrust.cs
- QuadraticBezierSegment.cs
- BitmapEffectGroup.cs
- TcpTransportManager.cs
- DataGridRowDetailsEventArgs.cs
- MailMessage.cs
- TransformPattern.cs
- DataColumnMappingCollection.cs
- XamlWriter.cs
- UTF32Encoding.cs
- COM2ColorConverter.cs
- OrderedParallelQuery.cs
- FunctionDescription.cs
- Cursors.cs
- BindingList.cs
- PolygonHotSpot.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ReadOnlyDictionary.cs
- FormsAuthentication.cs
- _AutoWebProxyScriptEngine.cs
- ExpanderAutomationPeer.cs
- TransformGroup.cs
- AssemblyUtil.cs
- LoginCancelEventArgs.cs
- SiteMapNodeItem.cs
- LazyTextWriterCreator.cs
- Constraint.cs
- SwitchLevelAttribute.cs
- GestureRecognizer.cs
- CompressStream.cs
- SymmetricAlgorithm.cs
- RayHitTestParameters.cs
- Rect.cs
- DateTimeStorage.cs
- AudioFormatConverter.cs
- EntitySetBaseCollection.cs
- UnsafeNativeMethods.cs
- TrustSection.cs
- ReaderContextStackData.cs
- ListViewCommandEventArgs.cs
- WindowsEditBoxRange.cs
- CellQuery.cs
- SqlDataReaderSmi.cs
- PartBasedPackageProperties.cs
- SchemaEntity.cs
- ConfigurationLocation.cs
- TextContainerHelper.cs
- Expressions.cs
- LineBreak.cs
- DrawingBrush.cs
- ColorConvertedBitmap.cs
- uribuilder.cs
- Invariant.cs
- MatrixAnimationUsingPath.cs
- IMembershipProvider.cs
- ConfigurationSettings.cs
- RoleManagerModule.cs
- QilPatternVisitor.cs
- FormatterServices.cs
- BitmapEffectCollection.cs
- XmlHierarchicalDataSourceView.cs
- XsltFunctions.cs
- XmlDocumentFieldSchema.cs
- AsyncPostBackTrigger.cs
- EdmType.cs
- KoreanLunisolarCalendar.cs
- TextParaLineResult.cs
- MsmqTransportElement.cs
- DataGridViewCellLinkedList.cs
- SoapSchemaExporter.cs
- ManagementBaseObject.cs
- TypeBuilder.cs
- BulletChrome.cs
- LabelAutomationPeer.cs
- RowToParametersTransformer.cs
- InstanceStore.cs
- ValidationEventArgs.cs
- ParserContext.cs
- ClientSection.cs
- BindStream.cs
- ErrorFormatter.cs
- TypeResolvingOptions.cs
- OleDbFactory.cs
- CapabilitiesState.cs
- WindowsScrollBar.cs
- TextureBrush.cs
- WebPartMovingEventArgs.cs
- ExecutionEngineException.cs