Solved

DataImageUrlFormatString to sqldatasource

Posted on 2011-02-22
5
975 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
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Manoj Patil
ID: 34951358
0
 
LVL 19

Expert Comment

by:Manoj Patil
ID: 34951370
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now