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
Solved

DataImageUrlFormatString to sqldatasource

Posted on 2011-02-22
5
976 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to check to see if datatable has headers or not 2 34
C# Desktop Application 3 54
VB.NET 2008 Winforms Signing 13 31
LINQ Select all records by MAX data syntax help 1 17
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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