Results 1 to 6 of 6

Thread: [2005] remove datasource

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2008
    Posts
    25

    [2005] remove datasource

    i have made a mistake in setting up the datasource for an access db , when clicking on the datasources tab there is no option to remove the datasource ?! I have tried around all menus , how do you remove a datasource from a project ?
    thanks

  2. #2
    Frenzied Member
    Join Date
    Jan 2006
    Posts
    1,875

    Re: [2005] remove datasource

    Right click and Delete it.
    __________________
    Rate the posts that helped you

  3. #3
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: [2005] remove datasource

    That doesnt work, at least not when I try it in VB 2008 Express edition... The right click menu on a data source has no delete option and no option anywhere in the menus that I can find to delete it either
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  4. #4
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: [2005] remove datasource

    Ah, I was right clicking the wrong bit and i assume the original poster is doing the same thing.

    All I ended up doing was right clicking on the file named TestDateSet.xsd (obviously this will be named something else depending on the name of your dataset) and choosing delete on there. That's in the Solution Explorer, not the Data Sources explorer
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  5. #5
    Frenzied Member
    Join Date
    Jan 2006
    Posts
    1,875

    Re: [2005] remove datasource

    yes it's in solution explorer
    __________________
    Rate the posts that helped you

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jul 2008
    Posts
    25

    Re: [2005] remove datasource

    yes i tried that , but then you get a heap of awful errors in the designer of the vb form of anything that was bound to that , there is no error handling on vb 2005 to remove data components , or warn you that they will be reconfigured to have no datasource , anyway , thanks , I guess Ill have to try to get it right from the start , thanks
    #

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width