Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }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
- TriggerCollection.cs
- XhtmlBasicSelectionListAdapter.cs
- SinglePageViewer.cs
- SchemaTypeEmitter.cs
- RegexStringValidatorAttribute.cs
- FontEditor.cs
- XmlDataSourceNodeDescriptor.cs
- TimeIntervalCollection.cs
- ModelProperty.cs
- RSAPKCS1SignatureDeformatter.cs
- MimeMultiPart.cs
- WindowsSpinner.cs
- TrustManagerPromptUI.cs
- CreateUserWizard.cs
- EndOfStreamException.cs
- basemetadatamappingvisitor.cs
- SectionRecord.cs
- InputScopeManager.cs
- BreadCrumbTextConverter.cs
- DataListDesigner.cs
- AppSettings.cs
- CodeAttributeArgument.cs
- XmlWhitespace.cs
- SynchronousChannelMergeEnumerator.cs
- HttpWriter.cs
- SpotLight.cs
- SmiEventStream.cs
- MatrixAnimationUsingKeyFrames.cs
- SecurityTraceRecordHelper.cs
- CurrentChangedEventManager.cs
- LinqDataSourceView.cs
- XhtmlBasicPanelAdapter.cs
- cookie.cs
- TagPrefixInfo.cs
- NativeWindow.cs
- QueryStringParameter.cs
- UnsafeNativeMethods.cs
- PointConverter.cs
- Overlapped.cs
- SendingRequestEventArgs.cs
- ElementHost.cs
- SocketStream.cs
- path.cs
- UserPersonalizationStateInfo.cs
- TableHeaderCell.cs
- CssStyleCollection.cs
- Compiler.cs
- _OSSOCK.cs
- LayoutManager.cs
- QuaternionRotation3D.cs
- Baml2006KeyRecord.cs
- ClientConfigurationHost.cs
- SymbolPair.cs
- ToolStripDropDownClosingEventArgs.cs
- panel.cs
- PageCodeDomTreeGenerator.cs
- ToolStripSeparatorRenderEventArgs.cs
- MetafileEditor.cs
- TextChange.cs
- SmtpReplyReaderFactory.cs
- ExcCanonicalXml.cs
- MetricEntry.cs
- objectresult_tresulttype.cs
- SrgsGrammar.cs
- AppModelKnownContentFactory.cs
- InfoCardTraceRecord.cs
- RegexTree.cs
- PageDeviceFont.cs
- TdsParserHelperClasses.cs
- COM2PictureConverter.cs
- RegexReplacement.cs
- SetUserLanguageRequest.cs
- RadioButtonAutomationPeer.cs
- StringWriter.cs
- LassoSelectionBehavior.cs
- BasicCellRelation.cs
- MarshalByRefObject.cs
- MergePropertyDescriptor.cs
- DbParameterCollection.cs
- DbProviderFactory.cs
- Misc.cs
- StaticExtension.cs
- RemotingConfiguration.cs
- TextParagraphView.cs
- OleDbCommandBuilder.cs
- QueryAccessibilityHelpEvent.cs
- DbConnectionPoolIdentity.cs
- ParameterEditorUserControl.cs
- OdbcEnvironmentHandle.cs
- UrlMappingsSection.cs
- DiffuseMaterial.cs
- MediaScriptCommandRoutedEventArgs.cs
- TransformPattern.cs
- FontWeight.cs
- MultilineStringConverter.cs
- StrokeDescriptor.cs
- DataGridViewCheckBoxCell.cs
- WebPartEventArgs.cs
- PersonalizablePropertyEntry.cs
- MasterPage.cs