Using the HyperLink Column
Recall that to specify which columns should appear in the DataGrid, the Columns screen of the Property Builder dialog box is used. When adding a new column to the DataGrid, there are a number of types of columns that can be added. So far we have examined just one of these types, the Bound Column.
Another column type that can be added to a DataGrid is the HyperLink Column. As its name implies, the HyperLink Column displays a hyperlink in each row of the DataGrid. As we will see shortly, the URL and text of the hyperlink created by the HyperLink Column can be either a constant string value or a value from the DataGrid's DataSource.
Unfortunately, the Customers database table does not contain any columns that store URLs. ...
Get SAMS Teach Yourself ASP.NET in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.