Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 20th, 2008, 05:09 AM
Registered User
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default issue with data sets

I have just added a dataset to my website and it has a tableadapter(productstableadapter), however while working on the .aspx.net file, the intellisense does not read the table adapter created.
ON running the website now, I run into the following error...

The type or namespace name 'ProductsTableAdapter' could not be found (are you missing a using directive or an assembly reference?)

Please check if anything is missing here ?
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

DO you need to manually add some directives / assembly references when you add a dataset(from the add new item tab) to the

Old June 22nd, 2008, 11:14 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

You shouldn't need to do anything special. You might try looking at the class browser to see what namespace the dataset is showing up under.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Union of Two data Sets tusharnarayan SQL Language 7 November 4th, 2008 05:23 PM
using 2 sets of xml data from 1 xslt davepass XSLT 2 April 1st, 2005 06:31 PM
performance limits / data sets justinhume Pro PHP 1 July 15th, 2004 01:49 PM
How to calculate the number of XML data sets? zhao790 XML 4 October 29th, 2003 12:10 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.