Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / FormViewInsertEventArgs.cs / 1 / FormViewInsertEventArgs.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;
///
/// Provides data for some events.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class FormViewInsertEventArgs : CancelEventArgs {
private object _commandArgument;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public FormViewInsertEventArgs(object commandArgument) : base(false) {
this._commandArgument = commandArgument;
}
///
/// Gets the argument to the command posted to the . This property is read-only.
///
public object CommandArgument {
get {
return _commandArgument;
}
}
///
/// Gets a OrderedDictionary to populate with inserted row values. This property is read-only.
///
public IOrderedDictionary Values {
get {
if (_values == null) {
_values = new OrderedDictionary();
}
return _values;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// 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;
///
/// Provides data for some events.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class FormViewInsertEventArgs : CancelEventArgs {
private object _commandArgument;
private OrderedDictionary _values;
///
/// Initializes a new instance of the
/// class.
///
public FormViewInsertEventArgs(object commandArgument) : base(false) {
this._commandArgument = commandArgument;
}
///
/// Gets the argument to the command posted to the . This property is read-only.
///
public object CommandArgument {
get {
return _commandArgument;
}
}
///
/// Gets a OrderedDictionary to populate with inserted row values. This property is read-only.
///
public IOrderedDictionary Values {
get {
if (_values == null) {
_values = new OrderedDictionary();
}
return _values;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartDescription.cs
- Stack.cs
- Range.cs
- WSTrustFeb2005.cs
- CommandDevice.cs
- BitmapImage.cs
- BaseTemplateBuildProvider.cs
- DiscoveryDocumentSearchPattern.cs
- RenderTargetBitmap.cs
- LogLogRecordHeader.cs
- ResolveNextArgumentWorkItem.cs
- UserMapPath.cs
- ZipIOBlockManager.cs
- MinimizableAttributeTypeConverter.cs
- SqlTriggerContext.cs
- HtmlInputSubmit.cs
- sqlpipe.cs
- ClickablePoint.cs
- DispatcherObject.cs
- Enum.cs
- ApplicationFileParser.cs
- relpropertyhelper.cs
- ColorInterpolationModeValidation.cs
- DataFormats.cs
- PropertyMap.cs
- StreamResourceInfo.cs
- FontStyleConverter.cs
- ScheduleChanges.cs
- StylesEditorDialog.cs
- Native.cs
- WsatExtendedInformation.cs
- TextTreeObjectNode.cs
- IProducerConsumerCollection.cs
- SelectingProviderEventArgs.cs
- ShapingEngine.cs
- M3DUtil.cs
- coordinatorfactory.cs
- ListDictionaryInternal.cs
- ToolBarButton.cs
- SqlXmlStorage.cs
- SymmetricAlgorithm.cs
- AssemblyCache.cs
- returneventsaver.cs
- Calendar.cs
- ModelPropertyDescriptor.cs
- TextShapeableCharacters.cs
- FlowLayout.cs
- LinqTreeNodeEvaluator.cs
- XamlWriter.cs
- StatusBar.cs
- DbProviderServices.cs
- DataSourceIDConverter.cs
- CollectionsUtil.cs
- MemoryFailPoint.cs
- ScopeCollection.cs
- CodeDirectiveCollection.cs
- DesignerSerializationOptionsAttribute.cs
- ObjRef.cs
- objectquery_tresulttype.cs
- TextBoxBase.cs
- DropDownButton.cs
- Helpers.cs
- FormsAuthenticationCredentials.cs
- EventLogPermissionAttribute.cs
- Span.cs
- MatrixAnimationBase.cs
- EntityViewGenerationAttribute.cs
- OutputCache.cs
- grammarelement.cs
- CustomAttributeBuilder.cs
- FileChangesMonitor.cs
- PackWebRequestFactory.cs
- ScrollProperties.cs
- Formatter.cs
- ComEventsInfo.cs
- WithStatement.cs
- CodeMethodReturnStatement.cs
- EntityKeyElement.cs
- XmlNode.cs
- DBCommand.cs
- WebScriptEnablingBehavior.cs
- Types.cs
- AttachedPropertiesService.cs
- ZipIORawDataFileBlock.cs
- RegexMatchCollection.cs
- CompressedStack.cs
- Utils.cs
- TextSelectionProcessor.cs
- NavigateUrlConverter.cs
- Expression.DebuggerProxy.cs
- SignatureResourcePool.cs
- TokenBasedSetEnumerator.cs
- OleDbRowUpdatingEvent.cs
- ProtectedProviderSettings.cs
- DmlSqlGenerator.cs
- PermissionAttributes.cs
- HttpProfileGroupBase.cs
- Hashtable.cs
- FolderBrowserDialog.cs
- Collection.cs