Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / AccessDataSourceView.cs / 1 / 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.Security.Permissions; using System.Text; using System.Web.UI; using System.Web.Util; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataObjectCopyingEventArgs.cs
- GreenMethods.cs
- WorkflowExecutor.cs
- DataSourceExpressionCollection.cs
- DbParameterHelper.cs
- SecurityContextCookieSerializer.cs
- BigInt.cs
- COAUTHIDENTITY.cs
- AppDomainEvidenceFactory.cs
- SafeHandle.cs
- TextBreakpoint.cs
- ParallelTimeline.cs
- QilXmlReader.cs
- ExcCanonicalXml.cs
- DesignerActionKeyboardBehavior.cs
- MouseWheelEventArgs.cs
- ReadWriteControlDesigner.cs
- ImplicitInputBrush.cs
- OrderPreservingPipeliningMergeHelper.cs
- UrlAuthorizationModule.cs
- DescriptionAttribute.cs
- BindStream.cs
- RuleSetReference.cs
- PenThreadWorker.cs
- FormsAuthenticationConfiguration.cs
- Int32AnimationBase.cs
- TimeSpanOrInfiniteValidator.cs
- FormsAuthenticationTicket.cs
- FormsAuthentication.cs
- AutomationPatternInfo.cs
- JoinGraph.cs
- SyntaxCheck.cs
- NullableDecimalMinMaxAggregationOperator.cs
- SvcMapFile.cs
- RelatedPropertyManager.cs
- versioninfo.cs
- WeakReferenceList.cs
- SQLInt16.cs
- GetFileNameResult.cs
- TableLayoutPanelCellPosition.cs
- XPathNodePointer.cs
- MULTI_QI.cs
- ListViewItemEventArgs.cs
- CalendarButton.cs
- ActivityStateRecord.cs
- SafeLibraryHandle.cs
- SafeMILHandle.cs
- QueryTaskGroupState.cs
- arabicshape.cs
- StylusPointPropertyUnit.cs
- RTLAwareMessageBox.cs
- MediaTimeline.cs
- DictionaryBase.cs
- Delegate.cs
- DataListCommandEventArgs.cs
- ImageDrawing.cs
- CroppedBitmap.cs
- ConnectionStringsSection.cs
- PasswordRecovery.cs
- ContextStaticAttribute.cs
- SoapIncludeAttribute.cs
- CollectionViewProxy.cs
- GroupItem.cs
- ParserStreamGeometryContext.cs
- TransactionWaitAsyncResult.cs
- DecoderExceptionFallback.cs
- EntitySqlException.cs
- ColumnResizeAdorner.cs
- ComponentEditorPage.cs
- InlineObject.cs
- TraceSection.cs
- Hash.cs
- TextDecorationCollection.cs
- Pair.cs
- PrintDialog.cs
- DBBindings.cs
- StyleCollection.cs
- XPathSingletonIterator.cs
- WebConfigurationHostFileChange.cs
- TypePropertyEditor.cs
- SubpageParaClient.cs
- StateMachine.cs
- XPathChildIterator.cs
- BrowserDefinitionCollection.cs
- RevocationPoint.cs
- ToolStripLocationCancelEventArgs.cs
- Endpoint.cs
- DiscriminatorMap.cs
- SchemaTableOptionalColumn.cs
- DataSourceSelectArguments.cs
- SqlProvider.cs
- XmlAttributeCollection.cs
- WebPartConnectionsConfigureVerb.cs
- Debug.cs
- CustomGrammar.cs
- SmtpNtlmAuthenticationModule.cs
- ControlAdapter.cs
- InstancePersistenceException.cs
- XmlSchemaComplexContent.cs
- HostingPreferredMapPath.cs