• 0

[ASP.NET 3.5] How would you do it?


Question

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.

post-98644-1258116597_thumb.jpg

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
Share on other sites

4 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.