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
- LostFocusEventManager.cs
- CssStyleCollection.cs
- HostingMessageProperty.cs
- BookmarkEventArgs.cs
- ClientViaElement.cs
- CheckBoxRenderer.cs
- XmlElementAttribute.cs
- SyndicationSerializer.cs
- WebDisplayNameAttribute.cs
- InvalidWorkflowException.cs
- DataServiceException.cs
- HttpRequest.cs
- ThousandthOfEmRealDoubles.cs
- XmlDataCollection.cs
- OdbcParameter.cs
- StructuralObject.cs
- ThicknessAnimationUsingKeyFrames.cs
- XmlNullResolver.cs
- RadioButtonBaseAdapter.cs
- BindToObject.cs
- serverconfig.cs
- SessionStateContainer.cs
- FixUp.cs
- Rect3DConverter.cs
- NumericPagerField.cs
- ServiceTimeoutsElement.cs
- ProviderMetadataCachedInformation.cs
- SynchronizedDispatch.cs
- DtrList.cs
- DataSourceHelper.cs
- ListViewDeleteEventArgs.cs
- SafeMILHandleMemoryPressure.cs
- CodeMemberEvent.cs
- WebPageTraceListener.cs
- StringFreezingAttribute.cs
- FrameworkElementAutomationPeer.cs
- xml.cs
- CompilerInfo.cs
- HtmlTitle.cs
- TypeResolver.cs
- ReadOnlyDictionary.cs
- TypefaceMetricsCache.cs
- XmlILIndex.cs
- TransformGroup.cs
- BitConverter.cs
- DataListComponentEditor.cs
- ServicePointManagerElement.cs
- LogicalExpressionTypeConverter.cs
- FileClassifier.cs
- ChangeInterceptorAttribute.cs
- GeneralTransform3DGroup.cs
- UndoEngine.cs
- CommonObjectSecurity.cs
- ConcurrentBag.cs
- ResourceProviderFactory.cs
- FileUpload.cs
- SqlMethodAttribute.cs
- SerializationSectionGroup.cs
- TextBoxDesigner.cs
- ProxyWebPart.cs
- _StreamFramer.cs
- WebEventTraceProvider.cs
- PathBox.cs
- PngBitmapEncoder.cs
- Image.cs
- DataControlImageButton.cs
- FixedDocumentSequencePaginator.cs
- HttpEncoder.cs
- xmlglyphRunInfo.cs
- SqlIdentifier.cs
- XmlWriterDelegator.cs
- EventLogPermissionEntry.cs
- Pool.cs
- documentsequencetextcontainer.cs
- PlaceHolder.cs
- login.cs
- XmlSerializerFactory.cs
- SelectionChangedEventArgs.cs
- Table.cs
- CompiledQuery.cs
- FlowLayoutPanel.cs
- ConfigurationLoaderException.cs
- DispatcherObject.cs
- RadioButtonAutomationPeer.cs
- ObjectListCommandEventArgs.cs
- SelectionRange.cs
- Object.cs
- SessionEndedEventArgs.cs
- WebPartVerbsEventArgs.cs
- HMACSHA1.cs
- ColumnBinding.cs
- CapabilitiesState.cs
- SevenBitStream.cs
- DataControlFieldCollection.cs
- ConnectionConsumerAttribute.cs
- LinkDescriptor.cs
- _CookieModule.cs
- Container.cs
- QuaternionRotation3D.cs
- AutoResizedEvent.cs