Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //----------------------------------------------------------------------------- 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
- DockAndAnchorLayout.cs
- MatrixValueSerializer.cs
- TreeViewCancelEvent.cs
- FillBehavior.cs
- SchemaTableOptionalColumn.cs
- XmlWellformedWriterHelpers.cs
- SqlDataSourceSelectingEventArgs.cs
- EncoderNLS.cs
- Base64Encoder.cs
- ServiceDebugBehavior.cs
- IsolationInterop.cs
- PageFunction.cs
- Decimal.cs
- HwndAppCommandInputProvider.cs
- NameSpaceExtractor.cs
- TimeSpanConverter.cs
- TransformerConfigurationWizardBase.cs
- XhtmlConformanceSection.cs
- SafeNativeMethods.cs
- lengthconverter.cs
- HttpProcessUtility.cs
- CategoryGridEntry.cs
- SubclassTypeValidatorAttribute.cs
- Latin1Encoding.cs
- XmlSchemaGroup.cs
- ConsoleKeyInfo.cs
- SolidColorBrush.cs
- Tile.cs
- SamlAuthenticationClaimResource.cs
- DataGridPageChangedEventArgs.cs
- BamlRecords.cs
- CustomMenuItemCollection.cs
- WebPartEditVerb.cs
- StateManager.cs
- DragStartedEventArgs.cs
- _AutoWebProxyScriptHelper.cs
- StrokeDescriptor.cs
- NonParentingControl.cs
- UnsafeCollabNativeMethods.cs
- VariableBinder.cs
- SelectionItemPattern.cs
- TableLayout.cs
- IdentityManager.cs
- XmlReaderSettings.cs
- ColumnProvider.cs
- propertyentry.cs
- FileVersionInfo.cs
- PrintDialogException.cs
- configsystem.cs
- Maps.cs
- DataSet.cs
- PrintingPermission.cs
- SqlCacheDependencyDatabase.cs
- DllHostedComPlusServiceHost.cs
- HTMLTagNameToTypeMapper.cs
- EntityKeyElement.cs
- ISAPIApplicationHost.cs
- BitmapEffectInput.cs
- SessionPageStatePersister.cs
- RIPEMD160.cs
- DeclaredTypeValidator.cs
- Drawing.cs
- SoapFault.cs
- XPathNode.cs
- Errors.cs
- CompiledRegexRunner.cs
- BindUriHelper.cs
- Journaling.cs
- HeaderPanel.cs
- ToolStripDropDownItem.cs
- UnmanagedMemoryStreamWrapper.cs
- BitmapEffectRenderDataResource.cs
- ADMembershipProvider.cs
- CodeMemberProperty.cs
- DataListItemCollection.cs
- XPathDocumentIterator.cs
- ZipFileInfo.cs
- Size.cs
- ProgressBarHighlightConverter.cs
- SymDocumentType.cs
- FixedMaxHeap.cs
- CompositionCommandSet.cs
- WCFBuildProvider.cs
- Visitor.cs
- TemplateContent.cs
- CompModSwitches.cs
- RichTextBoxConstants.cs
- SoapAttributeOverrides.cs
- WebDescriptionAttribute.cs
- SubpageParagraph.cs
- RestClientProxyHandler.cs
- CapiSafeHandles.cs
- SplineKeyFrames.cs
- RadioButton.cs
- DesignerWithHeader.cs
- SpecialFolderEnumConverter.cs
- SafeRegistryHandle.cs
- Transform3DGroup.cs
- DateTimePickerDesigner.cs
- BitmapEffect.cs