Best Practice...?

tugArouphot

New Member
I have a large datagrid that is paging nicely, etc...<BR>The first column is a hyperlink that leads to a detail of that row. I have coded this to carry a parameter in the URL and point to a 2nd aspx page that displays the item details (and a different query string) using a datareader and getting the fields(dr["fieldname"]). This works nicely too. Much of this site wil be like this, is it normal practice in asp.net to do this or should it be one page with re-posting or does it not matter?this is an excellent way of doing this and probably the most common. in my opinion, much easier than trying to do it all on one page with postbacks. however, just for the sake of knowledge, look into the built-in "Master-Detail" functionality that comes w/the datagrid.
 
Back
Top