O'Reilly logo

ASP.NET Developer's JumpStart by Ken Getz, Paul D. Sheriff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Editing Data Using Links

In order to allow users to edit all the information about a particular product, you might like them to be able to click a link containing the product name and have the link navigate the users to an editing page (ProductEdit.aspx, in this case), with the correct item selected. Adding this functionality will require solving a few problems. You'll need to be able to do the following:

  • Add a column to the DataGrid control, containing a link to another page
  • Add information to each link, indicating the correct product to display on the detail page

Adding a Hyperlink Column

Visual Studio .NET makes both these problems simple to solve via the Property Builder dialog box you saw in an earlier chapter. To add the hyperlink column, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required