Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DataImageUrlFormatString to sqldatasource

Posted on 2011-02-22
5
Medium Priority
?
980 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 2000 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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

609 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