To accomplish this thing There should be imageName in Database as same as which is in images stored in Local Folder.
Then Simple While Binding use Anchor Tag in the Template Field.
<a href="<%# String.Format("Location of your Folder/{0}",DataBinder.Eval(Container.DataItem,"imageName")) %>"></a>
Hope This Helps,