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
- TransformedBitmap.cs
- followingquery.cs
- HWStack.cs
- ThreadSafeList.cs
- SplayTreeNode.cs
- brushes.cs
- HwndKeyboardInputProvider.cs
- SerializationEventsCache.cs
- DataGridrowEditEndingEventArgs.cs
- ResourceContainer.cs
- DescendentsWalker.cs
- Solver.cs
- CookieProtection.cs
- MetadataArtifactLoaderComposite.cs
- ManipulationInertiaStartingEventArgs.cs
- CanonicalFontFamilyReference.cs
- MaterializeFromAtom.cs
- Group.cs
- IListConverters.cs
- TakeQueryOptionExpression.cs
- DesignTimeParseData.cs
- HierarchicalDataSourceIDConverter.cs
- Accessible.cs
- BrowserCapabilitiesFactory.cs
- InputGestureCollection.cs
- CatalogPartCollection.cs
- MetadataUtil.cs
- TimeSpanConverter.cs
- DataGridViewCellStyleConverter.cs
- prompt.cs
- wgx_render.cs
- SimpleWebHandlerParser.cs
- FacetEnabledSchemaElement.cs
- PingOptions.cs
- SafeThemeHandle.cs
- FormViewInsertEventArgs.cs
- XmlDataLoader.cs
- DoubleUtil.cs
- SystemInfo.cs
- DateTimeConverter2.cs
- XmlUtf8RawTextWriter.cs
- RadioButtonList.cs
- IgnoreFlushAndCloseStream.cs
- SortDescriptionCollection.cs
- MimePart.cs
- MethodCallConverter.cs
- EdgeProfileValidation.cs
- Object.cs
- WebPartVerb.cs
- ListCollectionView.cs
- EditCommandColumn.cs
- WorkflowStateRollbackService.cs
- DynamicILGenerator.cs
- SchemaCollectionPreprocessor.cs
- ParameterModifier.cs
- CodeExpressionCollection.cs
- TextFragmentEngine.cs
- QuotedPrintableStream.cs
- GreenMethods.cs
- DbConnectionInternal.cs
- XmlnsDefinitionAttribute.cs
- BamlTreeUpdater.cs
- EntityExpressionVisitor.cs
- Debugger.cs
- XmlSerializationWriter.cs
- SafeNativeMethodsCLR.cs
- GenericNameHandler.cs
- DataControlImageButton.cs
- Debug.cs
- ClientSettingsStore.cs
- EdmSchemaError.cs
- ValidatorUtils.cs
- CompiledELinqQueryState.cs
- UriTemplatePathSegment.cs
- CompilationUtil.cs
- Transform3DGroup.cs
- ECDiffieHellmanPublicKey.cs
- ComboBox.cs
- ResourceExpressionBuilder.cs
- Evaluator.cs
- HttpBindingExtension.cs
- ManagedCodeMarkers.cs
- ConfigurationElementCollection.cs
- IntellisenseTextBox.cs
- TypefaceCollection.cs
- BuildProvider.cs
- XPathNode.cs
- EntityDataSourceViewSchema.cs
- Dictionary.cs
- XsltCompileContext.cs
- QueuePropertyVariants.cs
- ToolStripDropDownMenu.cs
- ContextMenu.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- ReadWriteObjectLock.cs
- ThreadAbortException.cs
- IdentityHolder.cs
- HtmlTableRowCollection.cs
- ProfilePropertySettings.cs
- EndpointReference.cs