Open record on an edit form from GridView
Posted on 2010-11-09
I have a webpage that has a GridView on it with a sql link as the source. I have a link for each record in the grid called select. I have a textbox on the page that gets populated with the pk(id_number) on selectedindexchange event through vb. that part is working fine, however..
I would now like to open another page to the correct pk(id_number) that I have already built for editing records.
It too has a sql link as its datasource. The edit records are built on a ListView.
How can this be done??
I am thinking that I need to send over textbox1.text from page1.aspx to page2.aspx and use it in a param to get the correct record on the page2.aspx datasource. But am so new to asp.net, just not sure how this can be done...