Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / ReadOnlyDataSourceView.cs / 1 / ReadOnlyDataSourceView.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Web.UI; using System.Web.Util; ////// This class is used by ReadOnlyDataSource to represent an individual /// view of a generic data source. /// internal sealed class ReadOnlyDataSourceView : DataSourceView { private IEnumerable _dataSource; public ReadOnlyDataSourceView(ReadOnlyDataSource owner, string name, IEnumerable dataSource) : base(owner, name) { _dataSource = dataSource; } protected internal override IEnumerable ExecuteSelect(DataSourceSelectArguments arguments) { arguments.RaiseUnsupportedCapabilitiesError(this); return _dataSource; } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OleServicesContext.cs
- DataMemberListEditor.cs
- OracleBoolean.cs
- SpellerHighlightLayer.cs
- RegisteredArrayDeclaration.cs
- path.cs
- FrameAutomationPeer.cs
- TableCellsCollectionEditor.cs
- TabItemWrapperAutomationPeer.cs
- DeploymentSection.cs
- webclient.cs
- ApplicationId.cs
- StrongNamePublicKeyBlob.cs
- StagingAreaInputItem.cs
- WindowProviderWrapper.cs
- ContainerUIElement3D.cs
- BinHexEncoder.cs
- ParserOptions.cs
- ContactManager.cs
- Button.cs
- SizeIndependentAnimationStorage.cs
- NullRuntimeConfig.cs
- SimpleHandlerBuildProvider.cs
- OutputScope.cs
- ProbeDuplex11AsyncResult.cs
- ElementHostAutomationPeer.cs
- TableRowGroup.cs
- HyperLinkStyle.cs
- UriTemplateCompoundPathSegment.cs
- OdbcErrorCollection.cs
- GridLengthConverter.cs
- EventLogInternal.cs
- ReflectionUtil.cs
- NumberSubstitution.cs
- GridViewSelectEventArgs.cs
- DayRenderEvent.cs
- FormatterConverter.cs
- CustomValidator.cs
- TdsParserSafeHandles.cs
- ModelEditingScope.cs
- ErrorStyle.cs
- SecurityManager.cs
- SqlWebEventProvider.cs
- Wizard.cs
- GraphicsPathIterator.cs
- Assembly.cs
- UpDownBaseDesigner.cs
- NativeMethods.cs
- TaskFormBase.cs
- XamlReaderConstants.cs
- DataBindingExpressionBuilder.cs
- CFStream.cs
- FormViewRow.cs
- DataRowCollection.cs
- PtsHost.cs
- AutoResetEvent.cs
- AccessViolationException.cs
- BinaryObjectInfo.cs
- SoapSchemaMember.cs
- ClientRolePrincipal.cs
- PermissionToken.cs
- SimplePropertyEntry.cs
- BaseDataBoundControlDesigner.cs
- DataServiceHost.cs
- AssertSection.cs
- ToolStripDropDownMenu.cs
- OleDbCommand.cs
- Int32Rect.cs
- HttpHandlersInstallComponent.cs
- NamedPipeHostedTransportConfiguration.cs
- DesignerCatalogPartChrome.cs
- SoapEnumAttribute.cs
- EntitySqlQueryCacheEntry.cs
- _ProxyChain.cs
- Attribute.cs
- OleDbError.cs
- AxisAngleRotation3D.cs
- IdnElement.cs
- Literal.cs
- TypeSystem.cs
- TimeSpanMinutesConverter.cs
- HttpCachePolicyElement.cs
- CreationContext.cs
- XmlTextReaderImpl.cs
- XmlAttributeAttribute.cs
- CorePropertiesFilter.cs
- VisualCollection.cs
- Parser.cs
- DrawingVisualDrawingContext.cs
- TypeCacheManager.cs
- OdbcPermission.cs
- RepeatButtonAutomationPeer.cs
- StatusStrip.cs
- _LocalDataStoreMgr.cs
- BaseValidator.cs
- GeometryGroup.cs
- ValueQuery.cs
- Parser.cs
- DataGridViewAutoSizeModeEventArgs.cs
- WindowsGraphicsWrapper.cs