I have no idea why I'm freezing on this, but here it goes:
I have a very basic database (2 tables, 1-to-many relationship) and I need a way to represent these two tables in an asp.net page. If you want, the tables look something like this:
-Item
-ItemID: integer, primarykey
-ItemName: nvarchar(max)
-ItemDescription
-ItemDescriptionID: integer, primarykey
-ItemID: integer, foreign key
-Other description goes here.
Kindly don't pay any attention to the above tables, it's just to give an example of what I have.
What I want to achieve is to have a grid inside a grid. When the user clicks on a row in the master grid, the subgrid gets loaded underneath that row with the right information.
So if you have the same requirements, how would you approach it? I need to display the information from both tables (all the information).
I don't use Edge... Yes, why wouldn't I want fixes and security updates faster? It looks like there is at least 3 people just in this comment thread that are OK with this.
I use Linux and one applies updates when they wish and it can be done on Windows by setting updates for overnight or pausing updates. People will complain about anything.
Question
Bazenga
Hello,
I have no idea why I'm freezing on this, but here it goes:
I have a very basic database (2 tables, 1-to-many relationship) and I need a way to represent these two tables in an asp.net page. If you want, the tables look something like this:
-Item
-ItemID: integer, primarykey
-ItemName: nvarchar(max)
-ItemDescription
-ItemDescriptionID: integer, primarykey
-ItemID: integer, foreign key
-Other description goes here.
Kindly don't pay any attention to the above tables, it's just to give an example of what I have.
What I want to achieve is to have a grid inside a grid. When the user clicks on a row in the master grid, the subgrid gets loaded underneath that row with the right information.
So if you have the same requirements, how would you approach it? I need to display the information from both tables (all the information).
I hope that was clear enough.
Link to comment
https://www.neowin.net/forum/topic/845302-aspnet-35-how-would-you-do-it/Share on other sites
4 answers to this question
Recommended Posts