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
- UserMapPath.cs
- WorkerProcess.cs
- DodSequenceMerge.cs
- TreeNodeClickEventArgs.cs
- TableCell.cs
- COM2IProvidePropertyBuilderHandler.cs
- ModulesEntry.cs
- rsa.cs
- OSFeature.cs
- Error.cs
- OleAutBinder.cs
- _DisconnectOverlappedAsyncResult.cs
- DataGridSortCommandEventArgs.cs
- StreamUpdate.cs
- SpecialNameAttribute.cs
- StorageMappingFragment.cs
- StringSorter.cs
- NonSerializedAttribute.cs
- MenuItemStyleCollection.cs
- ArcSegment.cs
- AnnotationResource.cs
- HeaderedItemsControl.cs
- ProcessHostFactoryHelper.cs
- SafeMemoryMappedFileHandle.cs
- LayoutManager.cs
- ZipIOModeEnforcingStream.cs
- SeverityFilter.cs
- AuthenticationException.cs
- ActivityExecutionContextCollection.cs
- LinqDataView.cs
- XmlSchemaImport.cs
- KeyConstraint.cs
- InvalidPipelineStoreException.cs
- SqlReferenceCollection.cs
- SoapClientProtocol.cs
- OledbConnectionStringbuilder.cs
- DataServiceQuery.cs
- SystemIPAddressInformation.cs
- AdapterUtil.cs
- SmiEventSink_Default.cs
- ClassData.cs
- FrameAutomationPeer.cs
- CustomAttributeFormatException.cs
- InternalConfigSettingsFactory.cs
- SqlBuilder.cs
- ThreadExceptionDialog.cs
- RtfToXamlLexer.cs
- SubtreeProcessor.cs
- LogRestartAreaEnumerator.cs
- IntSecurity.cs
- InsufficientMemoryException.cs
- CompositeScriptReferenceEventArgs.cs
- HttpStreamXmlDictionaryReader.cs
- HostingEnvironmentException.cs
- ISAPIWorkerRequest.cs
- TextSegment.cs
- SqlProviderManifest.cs
- DataGridCell.cs
- RemoteWebConfigurationHostStream.cs
- RectangleF.cs
- CommandBinding.cs
- FacetEnabledSchemaElement.cs
- SqlGenericUtil.cs
- ConnectionManagementElementCollection.cs
- VisualBrush.cs
- EventManager.cs
- TextProperties.cs
- LogWriteRestartAreaState.cs
- LazyTextWriterCreator.cs
- PLINQETWProvider.cs
- BitmapEffectGeneralTransform.cs
- ExpressionVisitorHelpers.cs
- StrokeNodeOperations2.cs
- GeometryHitTestParameters.cs
- XmlSchemaGroup.cs
- SHA384.cs
- ListChangedEventArgs.cs
- StringCollection.cs
- ObjectTag.cs
- TextBox.cs
- DataPagerFieldCommandEventArgs.cs
- _OSSOCK.cs
- SqlNodeAnnotations.cs
- DecimalMinMaxAggregationOperator.cs
- DesignTimeVisibleAttribute.cs
- LineProperties.cs
- TextEditorDragDrop.cs
- GridViewRowPresenter.cs
- ComplexPropertyEntry.cs
- Repeater.cs
- CodeVariableReferenceExpression.cs
- RoutedPropertyChangedEventArgs.cs
- BinaryConverter.cs
- PaperSize.cs
- DocumentsTrace.cs
- GenericsInstances.cs
- LessThan.cs
- EdmTypeAttribute.cs
- ToolStripItem.cs
- UrlAuthorizationModule.cs