Code:
/ DotNET / DotNET / 8.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
- WebResponse.cs
- StringReader.cs
- PositiveTimeSpanValidatorAttribute.cs
- XmlHierarchyData.cs
- WizardForm.cs
- SoundPlayer.cs
- SignatureHelper.cs
- _BasicClient.cs
- CustomAssemblyResolver.cs
- WebHttpBinding.cs
- GraphicsContext.cs
- GroupBoxAutomationPeer.cs
- HighlightComponent.cs
- WebPartManagerInternals.cs
- ManipulationInertiaStartingEventArgs.cs
- ObjectViewQueryResultData.cs
- FacetEnabledSchemaElement.cs
- CodeNamespaceImport.cs
- BitFlagsGenerator.cs
- FileClassifier.cs
- DataSourceXmlSerializer.cs
- CqlParser.cs
- TransportContext.cs
- NameSpaceExtractor.cs
- ExpanderAutomationPeer.cs
- QilTypeChecker.cs
- WebServiceResponseDesigner.cs
- Dispatcher.cs
- InternalControlCollection.cs
- TextTreeTextBlock.cs
- _SslStream.cs
- DataTable.cs
- ModelUIElement3D.cs
- ObjectDataSourceChooseMethodsPanel.cs
- DetailsViewInsertedEventArgs.cs
- SectionXmlInfo.cs
- ClientRoleProvider.cs
- TreeChangeInfo.cs
- TreeBuilderXamlTranslator.cs
- AxHost.cs
- DataObject.cs
- MarkerProperties.cs
- TagMapCollection.cs
- IdnMapping.cs
- ProtocolsConfigurationEntry.cs
- WebPartZoneCollection.cs
- ImageUrlEditor.cs
- ThreadExceptionEvent.cs
- PriorityQueue.cs
- MatrixStack.cs
- XmlNodeWriter.cs
- SqlDataSourceStatusEventArgs.cs
- XPathSelectionIterator.cs
- TraceContextRecord.cs
- _RequestCacheProtocol.cs
- OperationSelectorBehavior.cs
- LinqDataSource.cs
- Highlights.cs
- SkinBuilder.cs
- TableRow.cs
- Schema.cs
- RsaSecurityKey.cs
- ReferentialConstraint.cs
- UIServiceHelper.cs
- DisposableCollectionWrapper.cs
- ObjectPersistData.cs
- InfoCard.cs
- SourceFilter.cs
- Tracking.cs
- UndirectedGraph.cs
- TextReturnReader.cs
- RegexCompilationInfo.cs
- ServiceAuthorizationBehavior.cs
- Validator.cs
- TracePayload.cs
- Code.cs
- ExpandedProjectionNode.cs
- TextHidden.cs
- TagMapCollection.cs
- WindowAutomationPeer.cs
- CallbackValidatorAttribute.cs
- IPEndPointCollection.cs
- SafeRegistryHandle.cs
- TextBlockAutomationPeer.cs
- CompositeCollectionView.cs
- SQLInt32Storage.cs
- TextParagraph.cs
- DefinitionBase.cs
- OptimizedTemplateContentHelper.cs
- BindingManagerDataErrorEventArgs.cs
- HtmlElementCollection.cs
- ListViewUpdateEventArgs.cs
- Stroke2.cs
- TextSelection.cs
- XmlHierarchicalEnumerable.cs
- Rotation3DKeyFrameCollection.cs
- TemplateBindingExpression.cs
- ContextToken.cs
- HebrewCalendar.cs
- FormViewInsertEventArgs.cs