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
- XamlReaderConstants.cs
- AutoScrollExpandMessageFilter.cs
- TdsRecordBufferSetter.cs
- BrowsableAttribute.cs
- IndexExpression.cs
- Point4D.cs
- PenCursorManager.cs
- MultilineStringConverter.cs
- DeflateEmulationStream.cs
- SerializationUtilities.cs
- FontSizeConverter.cs
- RtfFormatStack.cs
- SrgsElementFactoryCompiler.cs
- LambdaCompiler.Statements.cs
- WinFormsSecurity.cs
- _AuthenticationState.cs
- ToolStripItemClickedEventArgs.cs
- XamlSerializationHelper.cs
- AnimatedTypeHelpers.cs
- TextTreeInsertUndoUnit.cs
- RoutedPropertyChangedEventArgs.cs
- HtmlTableRow.cs
- TextServicesCompartment.cs
- ImageAnimator.cs
- DataGridViewEditingControlShowingEventArgs.cs
- XmlWrappingWriter.cs
- KerberosRequestorSecurityToken.cs
- AuthorizationBehavior.cs
- XamlTypeMapper.cs
- InstalledVoice.cs
- DoubleAnimationClockResource.cs
- TypeTypeConverter.cs
- ObjectNotFoundException.cs
- XmlComplianceUtil.cs
- StyleBamlRecordReader.cs
- SafeArrayRankMismatchException.cs
- WebBrowserProgressChangedEventHandler.cs
- Int32CAMarshaler.cs
- IndentedWriter.cs
- ImageButton.cs
- SplitterPanel.cs
- AttributeCollection.cs
- Int32.cs
- OleDbException.cs
- _ListenerRequestStream.cs
- NonDualMessageSecurityOverHttpElement.cs
- DateTimeFormat.cs
- Typography.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- HostingEnvironmentSection.cs
- ConsoleKeyInfo.cs
- DragDrop.cs
- MailWriter.cs
- CurrentChangingEventManager.cs
- SystemFonts.cs
- RelationshipDetailsRow.cs
- RijndaelManaged.cs
- VisualStateGroup.cs
- Attributes.cs
- DragDrop.cs
- RenderTargetBitmap.cs
- CompoundFileDeflateTransform.cs
- QuerySelectOp.cs
- XmlDataImplementation.cs
- ContextQuery.cs
- DiagnosticTraceSource.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- ImportedPolicyConversionContext.cs
- MemoryPressure.cs
- CodeAssignStatement.cs
- IndexedEnumerable.cs
- EnumerableRowCollectionExtensions.cs
- WorkflowIdleBehavior.cs
- AuthorizationRuleCollection.cs
- PageCache.cs
- StaticExtension.cs
- mediaeventshelper.cs
- Token.cs
- securitycriticaldata.cs
- SqlParameterizer.cs
- TextTreeObjectNode.cs
- TransformationRules.cs
- FrameworkElement.cs
- NameNode.cs
- X509Certificate.cs
- TableParaClient.cs
- Control.cs
- webeventbuffer.cs
- DefaultWorkflowLoaderService.cs
- ServiceNotStartedException.cs
- MdImport.cs
- WindowsEditBoxRange.cs
- BamlTreeUpdater.cs
- WaitForChangedResult.cs
- FacetDescription.cs
- InkCanvasSelectionAdorner.cs
- PerformanceCounter.cs
- ComponentManagerBroker.cs
- SqlInternalConnection.cs
- ConsoleKeyInfo.cs