Solved

DataImageUrlFormatString to sqldatasource

Posted on 2011-02-22
5
978 Views
Last Modified: 2012-08-13
Hello, i want to show some picture in a gridview (imagefield).

I got my sqldatasource 'SqlDataSource1'
and i selected my column 'ComLogo' From aspnet_Users

My imagefield:

<asp:ImageField DataImageUrlField="ComLogo" DataImageUrlFormatString='??'></asp:ImageField>

when i open my source on the site i see:

<img src="??" /></td>

i code Asp.NET C# in  VWD 2010 Express
0
Comment
Question by:bskyum
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Manoj Patil
ID: 34951358
0
 

Author Comment

by:bskyum
ID: 34951478
My pictures are in my database as <binary data>.

It looks like this guy have the images placed physically on the computer.
0
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 500 total points
ID: 34951543
0
 

Author Comment

by:bskyum
ID: 34951841
is'nt it possible to do it without codebehind?

i gues i just have to parse the <binary data>.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question