I am very new to ASP.Net and I am finding it hard to do some
fundamental things. Any help would be greatly appreciated.
I am developing a web application to store, view and maintain projects
that our team works on. For each project the user can specify 1) The
Project details like name, desc etc. 2) The tools that will be used,
3) The team members that will be working on the project, and so on.
There are at least 4 child tables for the main project table.
Since I am a windows forms developer I can't quite visualise how we
could capture parent child resltionship on a webpage. Any hints/ideas
would be very useful. Thanks.
Alexey Smirnov - 23 Jul 2007 13:30 GMT
> I am very new to ASP.Net and I am finding it hard to do some
> fundamental things. Any help would be greatly appreciated.
[quoted text clipped - 8 lines]
> could capture parent child resltionship on a webpage. Any hints/ideas
> would be very useful. Thanks.
I think it's similar to winforms. You can either try to use a Treeview
control to build a tree, or make a tabs, or menu
S Chapman - 23 Jul 2007 13:35 GMT
I am fine with basic details like Name Details etc. But I am not able
to work out how you would represent child details? May be as a grid,
if so how y=would you handle adding and deleting child rows tec.?
Alexey Smirnov - 23 Jul 2007 13:46 GMT
> I am fine with basic details like Name Details etc. But I am not able
> to work out how you would represent child details? May be as a grid,
> if so how y=would you handle adding and deleting child rows tec.?
If you have only one parent level and you like to have a grid, you
could try to use a gridview with a nested grid in it
http://www.codeguru.com/columns/vb/article.php/c12647/
Another option would be a gridview with all parents and a link to
detail page where you can list all child items of the selected item.
This is the way I would do.