Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OracleBoolean.cs
- RuntimeArgumentHandle.cs
- DeviceFiltersSection.cs
- HttpBrowserCapabilitiesBase.cs
- NegotiationTokenAuthenticatorState.cs
- Sequence.cs
- GreenMethods.cs
- XPathNavigatorKeyComparer.cs
- ModulesEntry.cs
- ToolStripDropDownMenu.cs
- RSACryptoServiceProvider.cs
- SelectingProviderEventArgs.cs
- RowUpdatedEventArgs.cs
- UxThemeWrapper.cs
- RelationshipEndCollection.cs
- WindowsRichEditRange.cs
- PartialCachingControl.cs
- LayoutUtils.cs
- ComboBoxAutomationPeer.cs
- DbConnectionOptions.cs
- ConstantSlot.cs
- AxisAngleRotation3D.cs
- ProviderConnectionPoint.cs
- ControlPropertyNameConverter.cs
- HighlightComponent.cs
- XmlElement.cs
- RichTextBox.cs
- RowUpdatingEventArgs.cs
- AspNetSynchronizationContext.cs
- SQLGuidStorage.cs
- IdentityNotMappedException.cs
- ACL.cs
- BaseTemplateBuildProvider.cs
- ParenthesizePropertyNameAttribute.cs
- DynamicRouteExpression.cs
- ReadOnlyCollection.cs
- PropertyPathConverter.cs
- ServiceMoniker.cs
- recordstate.cs
- BinaryWriter.cs
- ServicePointManager.cs
- NotSupportedException.cs
- InnerItemCollectionView.cs
- Comparer.cs
- CodeRemoveEventStatement.cs
- DisableDpiAwarenessAttribute.cs
- PenThread.cs
- XPathNavigator.cs
- BindStream.cs
- AssertFilter.cs
- PaintValueEventArgs.cs
- DataSourceView.cs
- WindowsFormsSynchronizationContext.cs
- RadioButtonList.cs
- StateMachineAction.cs
- SpellerInterop.cs
- DoubleIndependentAnimationStorage.cs
- WindowsGraphics2.cs
- ProcessModuleDesigner.cs
- DragDropManager.cs
- Section.cs
- PostBackOptions.cs
- BaseTemplateBuildProvider.cs
- Int64KeyFrameCollection.cs
- Point3DCollection.cs
- CellIdBoolean.cs
- NavigatingCancelEventArgs.cs
- RankException.cs
- SqlInternalConnectionSmi.cs
- XmlBoundElement.cs
- MetafileEditor.cs
- TreeViewHitTestInfo.cs
- RadioButtonList.cs
- ListView.cs
- LostFocusEventManager.cs
- PeerCollaboration.cs
- SignatureDescription.cs
- OleDbInfoMessageEvent.cs
- AutomationPropertyInfo.cs
- ComContractElement.cs
- AudioFormatConverter.cs
- XsltException.cs
- DataGridViewSelectedCellCollection.cs
- TargetParameterCountException.cs
- Win32SafeHandles.cs
- XmlSchemaRedefine.cs
- WebPartConnectVerb.cs
- TextChangedEventArgs.cs
- GZipDecoder.cs
- PackageRelationship.cs
- NativeActivityTransactionContext.cs
- SectionInput.cs
- SymDocumentType.cs
- RadioButtonList.cs
- XmlSchemaSimpleContentRestriction.cs
- LookupBindingPropertiesAttribute.cs
- CodeObject.cs
- XsltException.cs
- Int64.cs
- TextRangeSerialization.cs