Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2005, 12:48 PM
Authorized User
 
Join Date: Aug 2005
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Including images in a datagid

Hello Everyone,

Does anyone know how to make a DataGid that would include images? I guess the real question is can an image be attached in a database such as Microsoft Access. If so how do you o about and do it.

Would you store the actual image in the database? Or would you have a field where to indicate where the image is located (such as an image folder)

Please help.

thanks,

Ray

 
Old September 27th, 2005, 09:50 AM
Authorized User
 
Join Date: Sep 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

Pls supply your e-mail address and i'll send you an extract from the ASP.NET bible that explains exactly how to do this. If not want to give e-mail, then do research on the template issue, this explains it in detail.

Here's the end part that shows the code:
Finally, create the ItemTemplate in the Template column as follows:
<asp:TemplateColumn HeaderText="Product Category">
<ItemTemplate>
<asp:Image ID=Image1 runat="Server" ImageUrl="category.tif" />
</ItemTemplate>
<asp:/TemplateColumn>

 
Old September 27th, 2005, 10:30 AM
Authorized User
 
Join Date: Aug 2005
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Helga,

My email is [email protected]

Any help you can give me would be appreciated. I should mentionthough that I am only familiar with VB.NET. Is the ASSP.NET bible in C#?

thanks,
Ray






Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 15 - Online Stores - Including Images johnk BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 May 5th, 2007 03:21 PM
Including Other Project notrosh Visual C++ 1 April 23rd, 2007 12:09 AM
Including activex ashishprem Beginning VB 6 4 January 23rd, 2007 08:07 AM
Including an .ocx dartcoach VB How-To 9 November 13th, 2006 01:37 PM
Including files across folders dsunmedia Beginning PHP 3 July 26th, 2004 04:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.