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
- BuildProvider.cs
- InvalidCommandTreeException.cs
- BindingList.cs
- IndividualDeviceConfig.cs
- OdbcConnectionStringbuilder.cs
- ErrorWebPart.cs
- ValidationError.cs
- GroupByQueryOperator.cs
- Activity.cs
- Pens.cs
- DataGridHeaderBorder.cs
- Oci.cs
- MailWriter.cs
- EncoderParameter.cs
- BindableTemplateBuilder.cs
- InstanceKeyCollisionException.cs
- WebEventCodes.cs
- HashHelper.cs
- TypeUnloadedException.cs
- ControlValuePropertyAttribute.cs
- LambdaReference.cs
- DiagnosticsConfigurationHandler.cs
- WindowsBrush.cs
- EventProviderBase.cs
- LongSumAggregationOperator.cs
- DynamicQueryableWrapper.cs
- InsufficientExecutionStackException.cs
- FixedStringLookup.cs
- TimeSpanStorage.cs
- MdImport.cs
- BamlBinaryWriter.cs
- KeyValuePairs.cs
- UnmanagedBitmapWrapper.cs
- MemberJoinTreeNode.cs
- DBCSCodePageEncoding.cs
- GZipStream.cs
- ButtonFieldBase.cs
- GridToolTip.cs
- TraceInternal.cs
- TypedAsyncResult.cs
- LocalizableAttribute.cs
- WindowsScrollBarBits.cs
- Vector3DKeyFrameCollection.cs
- COAUTHINFO.cs
- OdbcEnvironment.cs
- CustomSignedXml.cs
- DescendentsWalkerBase.cs
- CompilerWrapper.cs
- DataServiceQueryException.cs
- AmbientLight.cs
- EffectiveValueEntry.cs
- Pointer.cs
- Page.cs
- SQLInt32.cs
- DataServiceStreamResponse.cs
- BrowserCapabilitiesFactoryBase.cs
- InternalBase.cs
- RenderingBiasValidation.cs
- SessionKeyExpiredException.cs
- EdmSchemaAttribute.cs
- HttpProcessUtility.cs
- PerformanceCounterPermission.cs
- DPTypeDescriptorContext.cs
- ChangeProcessor.cs
- ActivityDelegate.cs
- HandlerBase.cs
- IPAddressCollection.cs
- HttpRuntime.cs
- ZipFileInfo.cs
- BlobPersonalizationState.cs
- SafeHGlobalHandleCritical.cs
- CompressedStack.cs
- UncommonField.cs
- IdentityVerifier.cs
- SamlSubjectStatement.cs
- DetailsViewInsertedEventArgs.cs
- StateElementCollection.cs
- CacheDependency.cs
- FolderNameEditor.cs
- ReadOnlyCollection.cs
- PriorityRange.cs
- SQLByteStorage.cs
- DPAPIProtectedConfigurationProvider.cs
- SR.cs
- DataGridViewCellCancelEventArgs.cs
- Token.cs
- RegisteredArrayDeclaration.cs
- GenericAuthenticationEventArgs.cs
- MatrixAnimationUsingPath.cs
- Control.cs
- NativeMethods.cs
- X500Name.cs
- ObjectStorage.cs
- DispatcherEventArgs.cs
- ReflectionTypeLoadException.cs
- PrimarySelectionGlyph.cs
- SimpleType.cs
- BoundField.cs
- NonSerializedAttribute.cs
- SqlDataSourceSelectingEventArgs.cs