|
-
Jul 28th, 2004, 11:46 PM
#1
Thread Starter
Junior Member
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
-
Aug 3rd, 2004, 03:17 AM
#2
Thread Starter
Junior Member
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.
-
Aug 3rd, 2004, 03:33 AM
#3
Thread Starter
Junior Member
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.
-
Aug 3rd, 2004, 09:07 AM
#4
Addicted Member
-
Aug 4th, 2004, 01:14 AM
#5
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|