Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / ReadOnlyDataSourceView.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScriptControlManager.cs
- FormatterServices.cs
- DocumentSequence.cs
- SmiRequestExecutor.cs
- SingletonChannelAcceptor.cs
- NeutralResourcesLanguageAttribute.cs
- WebPartEditVerb.cs
- WebPartEditorOkVerb.cs
- GridViewRowEventArgs.cs
- Converter.cs
- ColorKeyFrameCollection.cs
- Parser.cs
- XsltSettings.cs
- XmlSchemaType.cs
- ReferenceService.cs
- DelimitedListTraceListener.cs
- ResourceContainer.cs
- Overlapped.cs
- NavigationWindow.cs
- ErrorTolerantObjectWriter.cs
- RemoteCryptoRsaServiceProvider.cs
- LocationReference.cs
- Helper.cs
- ScalarType.cs
- ComponentDesigner.cs
- QueryInterceptorAttribute.cs
- OleDbEnumerator.cs
- TextPointer.cs
- HttpFileCollectionWrapper.cs
- AutomationAttributeInfo.cs
- AutoResizedEvent.cs
- EdmToObjectNamespaceMap.cs
- TextAdaptor.cs
- ModelProperty.cs
- CurrentChangedEventManager.cs
- ConfigXmlCDataSection.cs
- ContextStack.cs
- PartialCachingAttribute.cs
- AuthenticationSection.cs
- ListBoxItemWrapperAutomationPeer.cs
- BreadCrumbTextConverter.cs
- Visual3D.cs
- DetailsView.cs
- JavascriptCallbackResponseProperty.cs
- RegistryKey.cs
- DBSchemaRow.cs
- SystemUnicastIPAddressInformation.cs
- ByteAnimationBase.cs
- AutoScrollExpandMessageFilter.cs
- TransformerInfoCollection.cs
- CodeDirectiveCollection.cs
- AnnotationService.cs
- fixedPageContentExtractor.cs
- ArgumentsParser.cs
- SQLMembershipProvider.cs
- BufferBuilder.cs
- UnsafeNativeMethods.cs
- FormsIdentity.cs
- DetailsViewDeleteEventArgs.cs
- SrgsRulesCollection.cs
- ObjectDataSourceView.cs
- ExpandableObjectConverter.cs
- RegexMatch.cs
- RepeatButton.cs
- PropertyPathConverter.cs
- PathGeometry.cs
- XmlDownloadManager.cs
- NameNode.cs
- TabItemAutomationPeer.cs
- BooleanKeyFrameCollection.cs
- DataPagerFieldCollection.cs
- CollectionContainer.cs
- DataReaderContainer.cs
- DirectoryObjectSecurity.cs
- StickyNoteHelper.cs
- thaishape.cs
- CatalogPartCollection.cs
- WebPartConnectionsConnectVerb.cs
- CategoryNameCollection.cs
- CompilerErrorCollection.cs
- GroupPartitionExpr.cs
- EastAsianLunisolarCalendar.cs
- SpeechUI.cs
- PackageProperties.cs
- DataGridViewTopRowAccessibleObject.cs
- KnownTypes.cs
- CursorConverter.cs
- WebPartConnectionsConfigureVerb.cs
- ContextMenuStripActionList.cs
- AspCompat.cs
- storagemappingitemcollection.viewdictionary.cs
- FilterQueryOptionExpression.cs
- TransformerConfigurationWizardBase.cs
- mediaclock.cs
- ACE.cs
- SmtpTransport.cs
- _BasicClient.cs
- MaskedTextBoxTextEditor.cs
- StorageEntityContainerMapping.cs
- ControlCollection.cs