Results 1 to 2 of 2

Thread: How to expand datagrid node?

  1. #1

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524

    How to expand datagrid node?

    When ever I try to show result of some SQL query in datagrid, I need to click on + sign on grid to expand the result (please see the picture)

    How can I open the datagrid directly on expanded data sheet view? [so that I don't need to click on "QueryTitle" link manually]

    Thanx
    Attached Images Attached Images  
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    You have to bind the the table directly to the datagrid and not the dataset.
    VB Code:
    1. 'use this
    2. myDataGrid.DataSource = myDataSet.Tables("MyTable")

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