Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / SqlDataSourceCommandEventArgs.cs / 1 / SqlDataSourceCommandEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class SqlDataSourceCommandEventArgs : CancelEventArgs {
private DbCommand _command;
public SqlDataSourceCommandEventArgs(DbCommand command) : base() {
_command = command;
}
public DbCommand Command {
get {
return _command;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class SqlDataSourceCommandEventArgs : CancelEventArgs {
private DbCommand _command;
public SqlDataSourceCommandEventArgs(DbCommand command) : base() {
_command = command;
}
public DbCommand Command {
get {
return _command;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridViewSelectEventArgs.cs
- FixedSOMGroup.cs
- VolatileEnlistmentState.cs
- PerformanceCounterCategory.cs
- FontInfo.cs
- __TransparentProxy.cs
- PerformanceCounter.cs
- WinCategoryAttribute.cs
- KeySplineConverter.cs
- _SSPIWrapper.cs
- SapiInterop.cs
- LongValidatorAttribute.cs
- _NtlmClient.cs
- SqlConnectionString.cs
- EncoderReplacementFallback.cs
- CodeDOMUtility.cs
- COM2ExtendedTypeConverter.cs
- GreenMethods.cs
- NetStream.cs
- __Error.cs
- WebPartCollection.cs
- SchemaObjectWriter.cs
- DataBoundLiteralControl.cs
- XmlWrappingReader.cs
- Localizer.cs
- SecureConversationDriver.cs
- DataGridViewColumnEventArgs.cs
- Input.cs
- JavaScriptSerializer.cs
- NonSerializedAttribute.cs
- InvalidWMPVersionException.cs
- SmiContext.cs
- NavigationPropertyEmitter.cs
- DrawListViewSubItemEventArgs.cs
- PngBitmapDecoder.cs
- LoginName.cs
- FilteredDataSetHelper.cs
- PauseStoryboard.cs
- MetadataUtilsSmi.cs
- BindingContext.cs
- ReadOnlyHierarchicalDataSource.cs
- RichTextBoxConstants.cs
- ToolStripLocationCancelEventArgs.cs
- TextEditor.cs
- TransactionScopeDesigner.cs
- ValueTypeFixupInfo.cs
- ProjectionQueryOptionExpression.cs
- WorkflowQueuingService.cs
- EdmMember.cs
- LongAverageAggregationOperator.cs
- ImageSource.cs
- SHA1Managed.cs
- NCryptNative.cs
- Overlapped.cs
- StylusPointPropertyInfoDefaults.cs
- ComAwareEventInfo.cs
- CardSpaceSelector.cs
- RangeValuePatternIdentifiers.cs
- Image.cs
- versioninfo.cs
- WebPartDescriptionCollection.cs
- ProcessHostConfigUtils.cs
- XmlSchemaImport.cs
- SpeechDetectedEventArgs.cs
- Utils.cs
- StickyNote.cs
- Attributes.cs
- ErrorHandler.cs
- XPathDocument.cs
- BrowserInteropHelper.cs
- GB18030Encoding.cs
- DataMemberConverter.cs
- QilName.cs
- SignedPkcs7.cs
- EventListener.cs
- ClassImporter.cs
- BaseInfoTable.cs
- DrawingBrush.cs
- LocationFactory.cs
- SqlTriggerAttribute.cs
- TemplatePartAttribute.cs
- CodeGotoStatement.cs
- BamlLocalizer.cs
- MessageSmuggler.cs
- KnownBoxes.cs
- FieldAccessException.cs
- ObservableDictionary.cs
- SQlBooleanStorage.cs
- InputDevice.cs
- GraphicsContainer.cs
- SmiRequestExecutor.cs
- GAC.cs
- ZipFileInfoCollection.cs
- SmtpNetworkElement.cs
- GridViewSortEventArgs.cs
- PropertyPushdownHelper.cs
- LabelLiteral.cs
- TransformDescriptor.cs
- MD5.cs
- HttpServerVarsCollection.cs