Bill,
>I am using a "Select" button on my web grid, that is displaying the PK Number(int) of the DataSet. I am trying to capture that number that is displayed on the button and save it to a public variable, when that button is depressed, so that I may open another form to edit that row/record, using that parameter for the new DataSet.
So, are you trying to pass the PK of a specific row in the grid? If so, there are a number of ways to accomplish this. Probably the easiest/best way is to follow the example in the Jump Start Guide for building a Web Forms application. The first column in grid on the CustomerOrders page is a Hyperlink column that passes the PK of the current row as a URL parameter to Order Edit page. Check out "Step 9 - Enhancing the Orders DataGrid" for details.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com