Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PointAnimation.cs
- WebBrowsableAttribute.cs
- AtomServiceDocumentSerializer.cs
- TemplateControl.cs
- FixedSOMLineRanges.cs
- ChannelTerminatedException.cs
- PersonalizationEntry.cs
- GlyphsSerializer.cs
- externdll.cs
- ECDiffieHellmanPublicKey.cs
- OleDbPermission.cs
- ShaderRenderModeValidation.cs
- AdornerHitTestResult.cs
- MatrixTransform.cs
- UriParserTemplates.cs
- _SSPIWrapper.cs
- _BufferOffsetSize.cs
- LeafCellTreeNode.cs
- MobileUITypeEditor.cs
- QilDataSource.cs
- ToolStripDropDownButton.cs
- EmptyElement.cs
- RelationshipConstraintValidator.cs
- SaveFileDialogDesigner.cs
- CodeDOMProvider.cs
- XmlSchemaCollection.cs
- X509UI.cs
- NavigationPropertyAccessor.cs
- PageVisual.cs
- HttpException.cs
- PageRequestManager.cs
- NeutralResourcesLanguageAttribute.cs
- TraceLog.cs
- ReadOnlyDataSource.cs
- CodeGotoStatement.cs
- BindingList.cs
- LinkUtilities.cs
- ButtonField.cs
- ActiveXSite.cs
- DynamicPropertyReader.cs
- TreeNodeClickEventArgs.cs
- EntityDataSourceChangingEventArgs.cs
- Rss20FeedFormatter.cs
- ContentPresenter.cs
- HwndKeyboardInputProvider.cs
- EventLogEntryCollection.cs
- LinqDataSourceStatusEventArgs.cs
- SecurityContextSecurityToken.cs
- BaseParaClient.cs
- GrabHandleGlyph.cs
- StrongName.cs
- SBCSCodePageEncoding.cs
- CultureInfoConverter.cs
- DateTimeValueSerializerContext.cs
- DialogResultConverter.cs
- PrintPreviewControl.cs
- LinkClickEvent.cs
- FontCacheLogic.cs
- GridViewColumnHeaderAutomationPeer.cs
- StructuralObject.cs
- ParenthesizePropertyNameAttribute.cs
- PartialCachingAttribute.cs
- ReversePositionQuery.cs
- MsmqUri.cs
- FrameSecurityDescriptor.cs
- IisTraceListener.cs
- DataSourceProvider.cs
- DbProviderFactory.cs
- Thread.cs
- DataSvcMapFileSerializer.cs
- SqlMultiplexer.cs
- XmlTextReader.cs
- UndirectedGraph.cs
- PriorityBindingExpression.cs
- RowBinding.cs
- RtType.cs
- FocusTracker.cs
- ChannelManager.cs
- LinearGradientBrush.cs
- XmlQueryOutput.cs
- SqlWorkflowInstanceStoreLock.cs
- InstanceNormalEvent.cs
- RegexCapture.cs
- CodeTypeMemberCollection.cs
- SafeBitVector32.cs
- AutomationEventArgs.cs
- GlyphsSerializer.cs
- SchemaHelper.cs
- ZipFileInfo.cs
- Timer.cs
- GenericParameterDataContract.cs
- XmlSchemaExternal.cs
- DateTimeOffset.cs
- DragStartedEventArgs.cs
- HandleCollector.cs
- QilGenerator.cs
- FontFamily.cs
- TagMapInfo.cs
- XmlSchemaAnnotated.cs
- ServiceMetadataContractBehavior.cs