Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Other SQL Server Topics / January 2007

Tip: Looking for answers? Try searching our database.

1st Image Control Shows Wrong Image

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rmk - 30 Jan 2007 00:58 GMT
In my asp.net application I have a local report with an image control in the
detail row of the table and the Value attribute set as

="File://" & Fields!FQPhotoFileName.Value

The first row in the table always shows the wrong image and it's always the
same wrong image. The problem is there even when I change the sort order or
the criteria for the underlying dataset. For example, I ran a small test
that populated the dataset with 2 rows and 2 images. When I sort by any
column (e.g. ID) in ascending ascending order the ID=1 row (the 1st row)
shows the wrong image and the ID=2 row shows the correct image. When I rerun
the report sorting in descending order the ID=2 row (which is now the 1st
row) shows the wrong image and the ID=1 shows the correct image.

Any suggestions?
Erland Sommarskog - 30 Jan 2007 11:22 GMT
> In my asp.net application I have a local report with an image control in
> the detail row of the table and the Value attribute set as
[quoted text clipped - 12 lines]
>
> Any suggestions?

Are you absolutely sure that you are in the right newsgroup? I have no idea
of what you are talking about...

Signature

Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.