Results 1 to 5 of 5

Thread: Datagrid within another Grid

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2004
    Location
    india
    Posts
    26

    Thumbs up Datagrid within another Grid

    hi ,
    Anybody pls tell me how to add a grid inside another datagrid in VB.NET.When i select any cell in the datagrid the sub grid must be opened just below the row with 2 or more columns of values.From that i can fill value for my main grid's row.
    Can i open a vb.net datagrid with a number of rows and columns without binding to any datasource?
    Anyone please let me know solution.

    sanjays

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jul 2004
    Location
    india
    Posts
    26

    Re: Datagrid within another Grid

    Originally posted by sanjays
    hi ,
    Anybody pls tell me how to add a grid inside another datagrid in VB.NET.When i select any cell in the datagrid the sub grid must be opened just below the row with 2 or more columns of values.From that i can fill value for my main grid's row.
    Can i open a vb.net datagrid with a number of rows and columns without binding to any datasource?
    Anyone please let me know solution.

    sanjays
    ////////////
    i got it.its so simple but i was so stupid that i askd it without trying.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2004
    Location
    india
    Posts
    26

    Re: Datagrid within another Grid

    Originally posted by sanjays
    hi ,
    Anybody pls tell me how to add a grid inside another datagrid in VB.NET.When i select any cell in the datagrid the sub grid must be opened just below the row with 2 or more columns of values.From that i can fill value for my main grid's row.
    Can i open a vb.net datagrid with a number of rows and columns without binding to any datasource?
    Anyone please let me know solution.

    sanjays
    ////////////
    i got it.its so simple but i was so stupid that i askd it without trying.

  4. #4
    Addicted Member
    Join Date
    Apr 2004
    Location
    Lagos, Nigeria
    Posts
    215
    How did you resolve it?

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jul 2004
    Location
    india
    Posts
    26
    I added another grid to the form and will b visible only if i click on a particular column in the 1st gird.Its position is set with the cell position of grid1.currentcell .
    Thats all done.
    sanjays

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