Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / AccessDataSourceView.cs / 1305376 / AccessDataSourceView.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Data.OleDb; using System.Drawing.Design; using System.IO; using System.Text; using System.Web.UI; using System.Web.Util; public class AccessDataSourceView : SqlDataSourceView { private AccessDataSource _owner; ////// Creates a new instance of AccessDataSourceView. /// public AccessDataSourceView(AccessDataSource owner, string name, HttpContext context) : base(owner, name, context) { Debug.Assert(owner != null); _owner = owner; } ////// Returns all the rows of the datasource. /// protected internal override IEnumerable ExecuteSelect(DataSourceSelectArguments arguments) { if (String.IsNullOrEmpty(_owner.DataFile)) { throw new InvalidOperationException(SR.GetString(SR.AccessDataSourceView_SelectRequiresDataFile, _owner.ID)); } return base.ExecuteSelect(arguments); } } } // 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
- ImageFormatConverter.cs
- SecurityVerifiedMessage.cs
- FlowLayoutPanel.cs
- RadioButton.cs
- TerminatorSinks.cs
- MemberDescriptor.cs
- UTF7Encoding.cs
- SessionMode.cs
- DataServiceResponse.cs
- PageCache.cs
- BitmapEffectState.cs
- LogRecordSequence.cs
- SQLGuid.cs
- ManagementEventWatcher.cs
- Schema.cs
- ChangePassword.cs
- AssemblyLoader.cs
- ProfileParameter.cs
- AssemblyInfo.cs
- ReferencedCollectionType.cs
- DependencyObjectProvider.cs
- CustomAttributeSerializer.cs
- FormsAuthenticationTicket.cs
- WebBrowserSiteBase.cs
- CodeEventReferenceExpression.cs
- PublishLicense.cs
- ShapingEngine.cs
- TextTreeRootTextBlock.cs
- XmlEntityReference.cs
- ComplexBindingPropertiesAttribute.cs
- ToolZone.cs
- DiagnosticTrace.cs
- HtmlElement.cs
- FontStyleConverter.cs
- ActiveXContainer.cs
- LinqTreeNodeEvaluator.cs
- StoreContentChangedEventArgs.cs
- SafeHandles.cs
- SharedHttpsTransportManager.cs
- MissingFieldException.cs
- ResourceCategoryAttribute.cs
- PageWrapper.cs
- PowerEase.cs
- FormParameter.cs
- XmlChoiceIdentifierAttribute.cs
- TextWriterTraceListener.cs
- ProgressBarAutomationPeer.cs
- TypeSystem.cs
- DefaultValueAttribute.cs
- ColorAnimation.cs
- GridSplitter.cs
- HttpResponse.cs
- DispatcherSynchronizationContext.cs
- DoubleLink.cs
- EntryIndex.cs
- NumericUpDownAcceleration.cs
- SendMessageRecord.cs
- IisTraceWebEventProvider.cs
- __Filters.cs
- Geometry3D.cs
- WebPartMenuStyle.cs
- SignedPkcs7.cs
- LineGeometry.cs
- LocalBuilder.cs
- PropVariant.cs
- EventSource.cs
- CultureInfoConverter.cs
- DiscoveryDocumentSerializer.cs
- TreeViewEvent.cs
- MenuItemBindingCollection.cs
- PropertyChangedEventArgs.cs
- BinaryObjectReader.cs
- XdrBuilder.cs
- FindSimilarActivitiesVerb.cs
- Boolean.cs
- ApplyTemplatesAction.cs
- CultureSpecificCharacterBufferRange.cs
- CodeCommentStatementCollection.cs
- ClientSettingsStore.cs
- Timer.cs
- DataBoundControlHelper.cs
- AesManaged.cs
- TextTreeInsertUndoUnit.cs
- WindowsRebar.cs
- ConfigurationLocation.cs
- DNS.cs
- PropertyInformation.cs
- ProfileGroupSettingsCollection.cs
- SafeProcessHandle.cs
- DbDataRecord.cs
- MailMessage.cs
- TimerElapsedEvenArgs.cs
- HttpHandlerActionCollection.cs
- LinearGradientBrush.cs
- InkCanvasSelection.cs
- ADConnectionHelper.cs
- TrustLevelCollection.cs
- ByteStream.cs
- OracleTransaction.cs
- ToolTipAutomationPeer.cs