Code:
/ FX-1434 / FX-1434 / 1.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
- KnownTypes.cs
- ACL.cs
- SmtpMail.cs
- GridViewCancelEditEventArgs.cs
- BoundsDrawingContextWalker.cs
- SchemaInfo.cs
- EventManager.cs
- BindingsCollection.cs
- WeakReference.cs
- XmlSchemaSequence.cs
- backend.cs
- ObjectStateEntry.cs
- TableLayoutStyleCollection.cs
- ModelTreeEnumerator.cs
- WindowManager.cs
- HealthMonitoringSectionHelper.cs
- GetMemberBinder.cs
- XMLDiffLoader.cs
- FormatSettings.cs
- SqlDataSourceEnumerator.cs
- TypeSystem.cs
- WindowsAuthenticationModule.cs
- _BasicClient.cs
- ColumnMapProcessor.cs
- PropertyRef.cs
- InternalsVisibleToAttribute.cs
- addressfiltermode.cs
- Attachment.cs
- PeerName.cs
- InvalidContentTypeException.cs
- QilValidationVisitor.cs
- ToolStripSplitButton.cs
- XmlSerializerNamespaces.cs
- JsonMessageEncoderFactory.cs
- CollectionChangedEventManager.cs
- PolyBezierSegment.cs
- ViewSimplifier.cs
- OleCmdHelper.cs
- MailWebEventProvider.cs
- PolyBezierSegment.cs
- HostedHttpContext.cs
- LinkButton.cs
- PointLight.cs
- CacheSection.cs
- TerminatorSinks.cs
- StrongNameIdentityPermission.cs
- WebCategoryAttribute.cs
- Selection.cs
- QueryableDataSource.cs
- ToolStripSplitButton.cs
- httpserverutility.cs
- Cell.cs
- RoutedEventValueSerializer.cs
- DockEditor.cs
- Convert.cs
- SqlAliaser.cs
- MsmqHostedTransportConfiguration.cs
- TempFiles.cs
- WindowsAuthenticationEventArgs.cs
- ResXResourceReader.cs
- ClientSettingsSection.cs
- SqlInternalConnectionSmi.cs
- QuaternionConverter.cs
- EDesignUtil.cs
- SqlDataSourceSelectingEventArgs.cs
- FullTextBreakpoint.cs
- ItemsControl.cs
- ScrollBarRenderer.cs
- TableStyle.cs
- BitArray.cs
- ProfileModule.cs
- PropertyMetadata.cs
- ContainerParagraph.cs
- FormsAuthenticationTicket.cs
- CodeMethodReturnStatement.cs
- PlainXmlSerializer.cs
- Int32CAMarshaler.cs
- XmlCustomFormatter.cs
- Completion.cs
- EncoderParameters.cs
- Matrix3D.cs
- SessionStateModule.cs
- Int32RectConverter.cs
- SessionStateUtil.cs
- DeferredBinaryDeserializerExtension.cs
- HandlerBase.cs
- ActivitiesCollection.cs
- DatePickerAutomationPeer.cs
- XmlSchemaComplexType.cs
- SignatureToken.cs
- XmlSchemaGroupRef.cs
- ServerType.cs
- MediaElement.cs
- MessagePartDescriptionCollection.cs
- DecoderNLS.cs
- ToolStripDropTargetManager.cs
- SqlOuterApplyReducer.cs
- HwndSubclass.cs
- DelegatedStream.cs
- MenuCommand.cs