Results 1 to 2 of 2

Thread: toolstripcontainer docking queries in datagrid view

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Location
    belfast
    Posts
    15

    toolstripcontainer docking queries in datagrid view

    i apologise where i made a mistake it is the queries have been docked but on the toolstripcontainer must dock to fill form which loses the datagrid view andevery thing else hw do i get it back and keep the queries.plese help



    refer to firsrt thread if neccesary

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: toolstripcontainer docking queries in datagrid view

    You tell us to refer to the first thread but we don't know what thread you mean. If you want us to look at another thread then you should provide a link. That said, you shouldn't create multiple threads for the same topic in the first place. You should have just added a new post to the existing thread.

    You haven't lost your DataGridView. It's simply obscured by the ToolStripContainer. When you use a ToolStripContainer, you need to put the controls that you would usually host in the form into the ToolStripContainer. To do that with existing controls you can either undock the ToolStripContainer and then drag the other controls onto it, or you can use the tree in the Document Outline window to drag items between containers. I would suggest the latter. You should be able to display the Document Outline by pressing Ctrl+Alt+T.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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