473,473 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

1st Image Control Shows Wrong Image

rmk
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?
Jan 30 '07 #1
1 1567
rmk (ki******@swbell.net) writes:
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?
Are you absolutely sure that you are in the right newsgroup? I have no idea
of what you are talking about...

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jan 30 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Anand Ganesh | last post by:
HI All, I have an Image. I want to clip a portion of it and copy to another image. How to do this? I know the bounding rectangle to clip. Any suggestions please. Thanks for your time and...
3
by: dale zhang | last post by:
Hi, I am trying to read an image from MS Access DB based on the following article: http://www.vbdotnetheaven.com/Code/Sept2003/2175.asp The article author is using PictureBox for windows...
10
by: mattmerc | last post by:
Hi all, I posted this about a week back with no response so I want to try again. I have a weird questions in regards to working with sql image data types. I know how to take the image type and...
2
by: DotNetJunkies User | last post by:
Hi, Can someone please point me in the right direction on how to create an image control that could be used in either a windows application or web application? Am I barking up the wrong tree...
7
by: needin4mation | last post by:
Hi, I have an Access 2002 - 2003 database. I am using Access 2003. Whenever I link an image all it shows is the filename. Not the image. Other versions of Access can link the image just fine. ...
4
by: Deere | last post by:
When I try to take a database field and change it with a function and return it...it will not display the image. The "Imageurl" does not convert to "src=" but stays as ImageUrl. id=Image2 will...
23
by: Peter | last post by:
I have a problem with a page show_image.asp that returns a jpg image under Windows XP Pro SP2. The page sets content type as: Response.ContentType = "image/jpg" While this works perfectly fine...
2
by: Tarik Monem | last post by:
OK! I've gone through a few tutorials and I cannot understand what I'm doing wrong casting_registration.php <table> <tr> <td> <form enctype="multipart/form-data" action="thankyou.php"...
1
by: gnewsgroup | last post by:
I have a user control called Footer.ascx, in which a background image is inserted like so: <div id="footerdiv" style="background-image:url('Images/ mybackground.jpg');...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.