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
- CompilerGlobalScopeAttribute.cs
- Int32Collection.cs
- mda.cs
- StorageAssociationSetMapping.cs
- WebServiceReceiveDesigner.cs
- HandledMouseEvent.cs
- EventToken.cs
- RangeContentEnumerator.cs
- TouchDevice.cs
- XPathNavigatorReader.cs
- UnsafeNativeMethods.cs
- ParallelTimeline.cs
- sqlser.cs
- ConfigDefinitionUpdates.cs
- GlobalDataBindingHandler.cs
- ByteArrayHelperWithString.cs
- SystemDiagnosticsSection.cs
- BulletedListEventArgs.cs
- RemotingConfigParser.cs
- OverflowException.cs
- MatrixTransform.cs
- KeyEvent.cs
- ISFTagAndGuidCache.cs
- SQLInt64.cs
- _RegBlobWebProxyDataBuilder.cs
- XmlQualifiedName.cs
- InternalPermissions.cs
- IInstanceContextProvider.cs
- NavigationPropertySingletonExpression.cs
- MultipleViewPattern.cs
- ProxyAttribute.cs
- SeparatorAutomationPeer.cs
- TableAdapterManagerNameHandler.cs
- HttpResponseInternalWrapper.cs
- ValuePatternIdentifiers.cs
- PictureBoxDesigner.cs
- DependencyObjectProvider.cs
- StickyNoteHelper.cs
- SimpleTableProvider.cs
- Pkcs9Attribute.cs
- XmlMapping.cs
- AmbientValueAttribute.cs
- EmbeddedObject.cs
- MailSettingsSection.cs
- XhtmlBasicPageAdapter.cs
- StatusBarDrawItemEvent.cs
- InertiaExpansionBehavior.cs
- TreeView.cs
- XslTransformFileEditor.cs
- ComplexTypeEmitter.cs
- UnsafeNativeMethods.cs
- RightsManagementEncryptionTransform.cs
- UInt32Converter.cs
- HtmlInputRadioButton.cs
- TextSelectionProcessor.cs
- GrammarBuilderPhrase.cs
- AsyncContentLoadedEventArgs.cs
- XamlSerializationHelper.cs
- RoleGroup.cs
- XmlSerializerFactory.cs
- MaskDescriptor.cs
- CategoryEditor.cs
- ScrollableControl.cs
- SQLBoolean.cs
- FreezableOperations.cs
- HwndSource.cs
- EnumBuilder.cs
- SecurityElement.cs
- NameValueSectionHandler.cs
- DataGridPageChangedEventArgs.cs
- System.Data_BID.cs
- SqlBulkCopyColumnMapping.cs
- EntityDataSource.cs
- DataSourceCacheDurationConverter.cs
- StateChangeEvent.cs
- _Events.cs
- WCFBuildProvider.cs
- UIElementIsland.cs
- COM2ExtendedBrowsingHandler.cs
- StringExpressionSet.cs
- KeyToListMap.cs
- ThousandthOfEmRealDoubles.cs
- SoapAttributeOverrides.cs
- WebScriptMetadataMessage.cs
- AutomationProperties.cs
- SplitterCancelEvent.cs
- AmbientProperties.cs
- DataGridTable.cs
- XmlDocumentType.cs
- HtmlInputCheckBox.cs
- HtmlString.cs
- _ConnectOverlappedAsyncResult.cs
- PeerHopCountAttribute.cs
- Logging.cs
- WeakEventManager.cs
- MetafileHeader.cs
- BoolExpressionVisitors.cs
- HttpProfileGroupBase.cs
- DebugTraceHelper.cs
- GradientPanel.cs