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
- FastPropertyAccessor.cs
- SqlXml.cs
- SlotInfo.cs
- DataServiceRequestOfT.cs
- UrlMapping.cs
- TabletDevice.cs
- TransactionFlowElement.cs
- FileEnumerator.cs
- XsdBuildProvider.cs
- TextTreeDeleteContentUndoUnit.cs
- DataMisalignedException.cs
- LoadGrammarCompletedEventArgs.cs
- WebPartPersonalization.cs
- WindowsFont.cs
- VideoDrawing.cs
- RoleGroupCollection.cs
- SqlDataSourceConnectionPanel.cs
- ObjRef.cs
- JsonFormatWriterGenerator.cs
- WebPartMinimizeVerb.cs
- SecurityDescriptor.cs
- TextOptionsInternal.cs
- DbConnectionClosed.cs
- WebConfigurationManager.cs
- WebControlAdapter.cs
- ObjectPropertyMapping.cs
- FileInfo.cs
- ObjectDataSourceWizardForm.cs
- CodeSubDirectory.cs
- CodeTypeMemberCollection.cs
- RegexParser.cs
- ToolStripComboBox.cs
- ViewBase.cs
- ScrollBarAutomationPeer.cs
- UnsettableComboBox.cs
- xmlfixedPageInfo.cs
- HtmlHead.cs
- XPathMessageContext.cs
- _SpnDictionary.cs
- FormatException.cs
- HttpAsyncResult.cs
- initElementDictionary.cs
- EntityDataSourceWrapper.cs
- AutomationFocusChangedEventArgs.cs
- MustUnderstandBehavior.cs
- CustomTypeDescriptor.cs
- WindowsFormsLinkLabel.cs
- Timer.cs
- ValidationRule.cs
- StringReader.cs
- LineBreakRecord.cs
- XmlObjectSerializerWriteContext.cs
- SpeechUI.cs
- ButtonColumn.cs
- SoapSchemaExporter.cs
- FontFamilyValueSerializer.cs
- ChildrenQuery.cs
- BinaryFormatterWriter.cs
- PartManifestEntry.cs
- LinkButton.cs
- _SecureChannel.cs
- AstTree.cs
- RegexCompiler.cs
- WebPartMenuStyle.cs
- XamlReader.cs
- EFTableProvider.cs
- ToolStripScrollButton.cs
- XmlDocumentType.cs
- CaseExpr.cs
- PeerNameRegistration.cs
- LocalizedNameDescriptionPair.cs
- Header.cs
- Row.cs
- CompilerCollection.cs
- CounterCreationData.cs
- ObjectCacheSettings.cs
- GACMembershipCondition.cs
- DesignerTransactionCloseEvent.cs
- _NegoStream.cs
- DragCompletedEventArgs.cs
- TemplateField.cs
- DeploymentSectionCache.cs
- TemplateKey.cs
- HwndSourceParameters.cs
- LiteralDesigner.cs
- CodeObject.cs
- KernelTypeValidation.cs
- WorkflowItemPresenter.cs
- EditorZoneBase.cs
- XsltFunctions.cs
- XPathExpr.cs
- WebServiceData.cs
- XmlElementList.cs
- BitmapEffectDrawingContent.cs
- CellLabel.cs
- DataMisalignedException.cs
- TimeSpanConverter.cs
- EncryptedData.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- CodeTypeDeclarationCollection.cs