Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / ReadOnlyDataSourceView.cs / 1305376 / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SuppressMessageAttribute.cs
- SignerInfo.cs
- NetNamedPipeBinding.cs
- CopyOfAction.cs
- BridgeDataRecord.cs
- IteratorDescriptor.cs
- SafeLocalMemHandle.cs
- ToolboxItemFilterAttribute.cs
- ClientApiGenerator.cs
- _HeaderInfoTable.cs
- DiscoveryClientDuplexChannel.cs
- CodeTypeDeclarationCollection.cs
- MiniAssembly.cs
- MailMessage.cs
- PagedDataSource.cs
- CustomAttributeBuilder.cs
- DataBinding.cs
- ErrorHandler.cs
- RegexCompiler.cs
- SearchForVirtualItemEventArgs.cs
- ExtenderControl.cs
- PropertyTabChangedEvent.cs
- EventRoute.cs
- RenderTargetBitmap.cs
- TypedReference.cs
- Container.cs
- FileUpload.cs
- XmlNotation.cs
- XmlnsCache.cs
- ColorMatrix.cs
- RegionData.cs
- WebDisplayNameAttribute.cs
- ResourcesBuildProvider.cs
- EventKeyword.cs
- UnrecognizedPolicyAssertionElement.cs
- FilePrompt.cs
- TreeView.cs
- ResourceReferenceExpressionConverter.cs
- RestClientProxyHandler.cs
- WindowPattern.cs
- WebPartUtil.cs
- HttpListener.cs
- SplineKeyFrames.cs
- CultureSpecificStringDictionary.cs
- PixelFormatConverter.cs
- AnonymousIdentificationModule.cs
- Update.cs
- SizeChangedEventArgs.cs
- _SSPISessionCache.cs
- DesignerSerializerAttribute.cs
- Vars.cs
- DetailsViewRow.cs
- AppDomain.cs
- PublisherMembershipCondition.cs
- ScriptResourceHandler.cs
- CodeSnippetExpression.cs
- BindingManagerDataErrorEventArgs.cs
- CollectionViewGroupRoot.cs
- AppDomainProtocolHandler.cs
- VectorValueSerializer.cs
- ApplicationServiceManager.cs
- CriticalFinalizerObject.cs
- XPathExpr.cs
- SafeNativeMethods.cs
- SspiSafeHandles.cs
- WebPartMovingEventArgs.cs
- CharacterBufferReference.cs
- QueryCursorEventArgs.cs
- KeyProperty.cs
- RemotingHelper.cs
- OleCmdHelper.cs
- PolicyException.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DataSourceConverter.cs
- PrivilegedConfigurationManager.cs
- QilFunction.cs
- NotCondition.cs
- FormViewModeEventArgs.cs
- BaseParaClient.cs
- ExpandableObjectConverter.cs
- Native.cs
- BackStopAuthenticationModule.cs
- ErrorTableItemStyle.cs
- EdmItemCollection.OcAssemblyCache.cs
- Annotation.cs
- ConfigurationPropertyAttribute.cs
- ConfigPathUtility.cs
- TextControl.cs
- TreeViewHitTestInfo.cs
- PrintingPermission.cs
- PropertyInfoSet.cs
- EntityProviderServices.cs
- ResourceAttributes.cs
- ValidationPropertyAttribute.cs
- TabOrder.cs
- Imaging.cs
- IDispatchConstantAttribute.cs
- AttachmentService.cs
- SelectionPatternIdentifiers.cs
- XmlSchemaComplexContentExtension.cs