Solved

DataImageUrlFormatString to sqldatasource

Posted on 2011-02-22
5
973 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
Comment Utility
0
 
LVL 19

Expert Comment

by:Manoj Patil
Comment Utility
0
 

Author Comment

by:bskyum
Comment Utility
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
Comment Utility
0
 

Author Comment

by:bskyum
Comment Utility
is'nt it possible to do it without codebehind?

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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

728 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

8 Experts available now in Live!

Get 1:1 Help Now