Namespace and dataset

Discussion in 'ASP .Net' started by Vik, Feb 1, 2005.

  1. Vik

    Vik Guest

    If there is a Namespace statement in a page code behind and I generate a
    dataset using a dataadapter in design view then I get an error message 'Type
    Inventory.DataSet1 is not defined' (where Inventory is a name of a solution,
    project, and namespace) on the following automatically generated
    declaration:

    Protected WithEvents DataSet11 As Inventory.DataSet1

    This statement does not give an error:
    Protected WithEvents DataSet11 As DataSet1

    What is wrong here? Should I remove the project name from all the dataset
    declarations manually?

    Thanks.
     
    Vik, Feb 1, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JimO

    DataSet and dataSet

    JimO, Mar 1, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    547
    Mary Chipman [MSFT]
    Mar 8, 2006
  2. Èý¹â
    Replies:
    1
    Views:
    592
    William F. Robertson, Jr.
    Jul 29, 2003
  3. thomson
    Replies:
    2
    Views:
    14,856
    Eliyahu Goldin
    Jan 19, 2005
  4. Replies:
    0
    Views:
    5,156
  5. Anonymous
    Replies:
    3
    Views:
    554
    Ron Natalie
    Aug 18, 2003
Loading...

Share This Page