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
- ScriptIgnoreAttribute.cs
- OleDbMetaDataFactory.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DesignerResources.cs
- BitmapEffect.cs
- XmlWrappingReader.cs
- PeerCustomResolverElement.cs
- AssemblyHelper.cs
- ReverseComparer.cs
- ClientSettings.cs
- LocalIdKeyIdentifierClause.cs
- mda.cs
- TrackingServices.cs
- SafeCancelMibChangeNotify.cs
- streamingZipPartStream.cs
- TemplateLookupAction.cs
- EditCommandColumn.cs
- ControlPaint.cs
- MenuStrip.cs
- WebPartsPersonalizationAuthorization.cs
- MimeMapping.cs
- HttpAsyncResult.cs
- MemoryStream.cs
- XmlSchemaAnyAttribute.cs
- XhtmlTextWriter.cs
- StrokeCollection2.cs
- TraceContextRecord.cs
- HideDisabledControlAdapter.cs
- BitmapPalettes.cs
- MemoryFailPoint.cs
- HitTestWithGeometryDrawingContextWalker.cs
- XmlBindingWorker.cs
- SettingsContext.cs
- SecurityRuntime.cs
- SoapEnumAttribute.cs
- DuplexSecurityProtocolFactory.cs
- FactoryId.cs
- RootContext.cs
- DesignerLinkAdapter.cs
- SynchronizedInputPattern.cs
- PrePrepareMethodAttribute.cs
- DbExpressionVisitor.cs
- BindingCollection.cs
- Internal.cs
- DataGridViewImageCell.cs
- ObjectDataSourceMethodEventArgs.cs
- BaseValidatorDesigner.cs
- MenuItemStyleCollection.cs
- SelectionHighlightInfo.cs
- UnmanagedMarshal.cs
- QueryMatcher.cs
- GridView.cs
- WebBrowserPermission.cs
- ObjectItemCollection.cs
- NamedPipeProcessProtocolHandler.cs
- PageParserFilter.cs
- ConfigXmlComment.cs
- SqlInternalConnection.cs
- FlowSwitch.cs
- HashCoreRequest.cs
- XmlSecureResolver.cs
- unsafeIndexingFilterStream.cs
- DataSourceHelper.cs
- XLinq.cs
- ArgumentDirectionHelper.cs
- TableLayout.cs
- UpdateProgress.cs
- FileIOPermission.cs
- UInt16Converter.cs
- DescendantBaseQuery.cs
- DataFieldCollectionEditor.cs
- TextEditorContextMenu.cs
- ExpressionConverter.cs
- ViewService.cs
- RightsManagementEncryptionTransform.cs
- JpegBitmapDecoder.cs
- ClientOptions.cs
- XmlObjectSerializerReadContextComplexJson.cs
- UnaryOperationBinder.cs
- NonSerializedAttribute.cs
- AppDomainGrammarProxy.cs
- GlyphTypeface.cs
- exports.cs
- Set.cs
- XmlDataCollection.cs
- ProxyWebPartManager.cs
- TransactionFlowElement.cs
- XPathAncestorIterator.cs
- CustomBindingCollectionElement.cs
- ModifierKeysConverter.cs
- WCFBuildProvider.cs
- IndexingContentUnit.cs
- SignedInfo.cs
- DataServiceException.cs
- FontCacheLogic.cs
- ContainerUIElement3D.cs
- TraceSwitch.cs
- SQLRoleProvider.cs
- GeometryCollection.cs
- Tablet.cs