469,575 Members | 1,668 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

Storing/Displaying images

Hi, how are you ? Can you send me any examples about storing images on bd
and showing them on gridview? Im using VS2005 asp.net 2.0 C#

Thanks a lot!
Aug 29 '07 #1
2 1385
What's a bd?db? for database? (not mocking you just trying to figure out
your request)


http://www.gridviewguy.com/ArticleDe...?articleID=207
Do you have relative paths, or the images ~in~ the database?

http://www.gridviewguy.com/ArticleDe...?articleID=166

"Paulo" <pr*****@uol.com.brwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Hi, how are you ? Can you send me any examples about storing images on bd
and showing them on gridview? Im using VS2005 asp.net 2.0 C#

Thanks a lot!

Aug 29 '07 #2
Paulo wrote:
Hi, how are you ? Can you send me any examples about storing images on bd
and showing them on gridview? Im using VS2005 asp.net 2.0 C#

Hi Paulo. Check out this article:

Storing Binary Files Directly in the Database Using ASP.NET 2.0
http://aspnet.4guysfromrolla.com/articles/120606-1.aspx

It provides a complete, working demo at the end of the article that
shows how to save images in the database. The demo does not use a
GridView to show the images, but it does use a FormView. In any event,
for a GridView (or DetailsView), you could use either a TemplateField
and use the techniques shown in the demo or use an ImageField instead.
--

Scott Mitchell [ASP.NET MVP]
mi******@4GuysFromRolla.com
http://www.4GuysFromRolla.com/ScottMitchell
Aug 29 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by bissatch | last post: by
2 posts views Thread by Woodmon | last post: by
4 posts views Thread by Rednelle | last post: by
1 post views Thread by David Lozzi | last post: by
2 posts views Thread by EsahakNoorul | last post: by
5 posts views Thread by Tom | last post: by
4 posts views Thread by redpears007 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.