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
- Missing.cs
- Utils.cs
- HtmlTableRowCollection.cs
- SqlCacheDependency.cs
- ComEventsInfo.cs
- OverrideMode.cs
- SpellerError.cs
- IUnknownConstantAttribute.cs
- XmlDeclaration.cs
- ExcludeFromCodeCoverageAttribute.cs
- Membership.cs
- HttpHandlersSection.cs
- DataBoundControlAdapter.cs
- SqlFactory.cs
- __Filters.cs
- XmlReaderDelegator.cs
- PngBitmapDecoder.cs
- SystemFonts.cs
- EditableRegion.cs
- NativeMethods.cs
- NumberFormatInfo.cs
- SHA384.cs
- HttpDictionary.cs
- DateTimeFormatInfo.cs
- Form.cs
- FunctionGenerator.cs
- FrameworkContentElementAutomationPeer.cs
- WebPartTransformerCollection.cs
- NumberFormatInfo.cs
- BamlMapTable.cs
- StylusPlugin.cs
- WindowPattern.cs
- SettingsPropertyCollection.cs
- DBBindings.cs
- FloatUtil.cs
- KerberosReceiverSecurityToken.cs
- DataBindingsDialog.cs
- LineServicesCallbacks.cs
- StretchValidation.cs
- ObjectSecurity.cs
- SoundPlayer.cs
- TypeDelegator.cs
- CultureTableRecord.cs
- nulltextcontainer.cs
- IntellisenseTextBox.designer.cs
- PipelineModuleStepContainer.cs
- TemplateLookupAction.cs
- PersistChildrenAttribute.cs
- SolidBrush.cs
- SQLInt16.cs
- PersistenceProviderDirectory.cs
- QueryTask.cs
- ExtensionQuery.cs
- MaterialGroup.cs
- StyleCollection.cs
- PageCache.cs
- ResourceSet.cs
- ProviderException.cs
- CodeSubDirectoriesCollection.cs
- InternalRelationshipCollection.cs
- SqlDataReaderSmi.cs
- StatusBarPanel.cs
- Thumb.cs
- MimeXmlReflector.cs
- Image.cs
- MatrixKeyFrameCollection.cs
- ContentElement.cs
- TextModifierScope.cs
- XPathDescendantIterator.cs
- OutputCacheSection.cs
- RangeEnumerable.cs
- WebPartActionVerb.cs
- TemplatePagerField.cs
- SEHException.cs
- Stackframe.cs
- OptimalBreakSession.cs
- TextEditorTables.cs
- GradientBrush.cs
- OdbcConnectionString.cs
- Translator.cs
- ButtonStandardAdapter.cs
- ContextMenuAutomationPeer.cs
- ToolStripContainer.cs
- ClientApiGenerator.cs
- WriterOutput.cs
- LazyTextWriterCreator.cs
- DispatcherObject.cs
- FormViewInsertEventArgs.cs
- HwndSubclass.cs
- ObjectTag.cs
- GradientBrush.cs
- ErrorsHelper.cs
- SamlSubject.cs
- DropAnimation.xaml.cs
- CngUIPolicy.cs
- HashCodeCombiner.cs
- BaseInfoTable.cs
- TextBox.cs
- MarkupCompiler.cs
- PeerInvitationResponse.cs