PDA

View Full Version : How do you connect unique GridView row to Unique Coment page?


ahablives
08-13-2009, 01:03 PM
Hello and thank you in advance for reading.

I am trying to display a comments page that is connected to my GridView Control (which has "Select" enabled).

So when a user selects a row from the GridView they get the option to post a comment to which the next user can see and reply to that comment if they have selected that same row.

Essentially creating a unique comments\display page for every row in my grid view.

Hope that makes sense.
New to C# ASP so any help no matter how small is appreciated
-Z

10inja
08-14-2009, 07:42 AM
Hey.. I'm totally new to asp.net

I just put together (with the help of this fourm) http://www.TheMikesAutoSales.com

there's a gridview in the inventory page, you can select a row and then it will display details for each row.

the rows and the details are all in a database. You create the gridview page, then you create the details (or comments page in your case). I used formfiew control for my details page. The gridview gets populated with rows from the database. The details page also gets populated from a row in the database.

so, you'll most likely want your website to be database driven and store the comments in a table and also allow users to add comments to the database

like I said, I'm totally new so not sure if this is helpful to you or not.