Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 6th, 2005, 12:48 PM
Authorized User
 
Join Date: Aug 2005
Location: , , Canada.
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

Reply With Quote
  #2 (permalink)  
Old September 27th, 2005, 09:50 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
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>

Reply With Quote
  #3 (permalink)  
Old September 27th, 2005, 10:30 AM
Authorized User
 
Join Date: Aug 2005
Location: , , Canada.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Helga,

My email is navigatir@navigatir.com

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 07:07 AM
Including an .ocx dartcoach VB How-To 9 November 13th, 2006 12:37 PM
Including files across folders dsunmedia Beginning PHP 3 July 26th, 2004 04:17 PM



All times are GMT -4. The time now is 08:11 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.