CFanatic

Go Back   CFanatic > Programming > C# Programming

Join CFanatic Forum Now

Displaying Image using path from Sql Query topic posted under C# Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2010, 12:45 PM
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
TonyOq is on a distinguished road
| More
Displaying Image using path from Sql Query

I'm creating a C# Application project (using Visual Studio 2008). I am using a DataGrid and retrieving values for an image whos path is located in a SQL database. So for example I get back: "ImageName" "/some/path/to/my/image.gif". I can get the values returned fine, however I do not know how I can convert that url string into an actual image.

The project is a Windows Application project. From the research I have done in the last couple of days, I almost think I have to turn the image into binary? Anyway, I don't know how to proceed. If someone can post me an example (along with where to put it), it would be a huge help. I have searched a lot but everywhere seems to assume it's binary I'm pulling from the database and I'm not. I also have zero control over how the data comes to me, I just need ot be able to work with it after the fact.
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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scope Query forumuser11 C++ Programming 0 06-28-2010 08:10 AM
Validating File Path in C;please reply immediately ragaven C Programming 1 10-31-2008 06:35 PM
query about reference kishore C++ Programming 3 06-29-2008 09:31 AM
uninstall query PARIJAT MFC Programming 0 09-30-2006 07:16 PM
Destination path PARIJAT Win32 Programming 0 09-30-2006 07:15 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 04:23 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board