ASP.NET Datagrid Question - TechRepublic
General discussion
March 9, 2003 at 07:32 AM
galahad04

ASP.NET Datagrid Question

by galahad04 . Updated 23 years, 3 months ago

I have a question about the HyperlinkColumn template item which can be used in ASP.NET’s DataGrid object. Basically, I am trying to read e-mail addresses from a database table and then display them on a web page datagrid, with the e-mail addresses dynaminally linked to the e-mail address field using the mailto: tag. However, when I try to do this by concatenating the DataNavigateUrlFormatString property and the e-mail field object, I get a server error message that says something like “Databinding is not a property of DataGrid” (HyperlinkColumns doesn’t like the <%# %> databinding syntax). Also I was hoping someone could let me know what I am doing wrong here and how I can achieve the desired result. Thanks

This discussion is locked

All Comments