Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Re: hyperlink column in datagrid


Message #1 by "Christopher Ware" <cware33@y...> on Thu, 30 Jan 2003 17:09:04
> Hello, please can someone offer some advice - 

> I'm trying to populate a datagrid with data from an Access database, 
u> sing C# and it works fine  - except the URLs contained in one of the 
f> ields displayed appear as ordinary text rather than links.

> I've tried taking the table column of URLs and adding it to the datagrid 
a> s a HyperLinkColumn - but it still doesn't work..

> does anybody have any ideas?

> Thanks :)

Have you tried using template columns?  While select datagrid columns, 
from the buttons (edit, cancel, update, select), there is a template 
column that you add.  Choose that option, close the properties page.  
Right click your grid and select edit template.  All you have to do then 
is drag any control from the toolbox into the field and there you have 
it.  In your case a hypertext control.

  Return to Index