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

Enlarge image in the datagrid uaing asp.net , However, it must be retrieved from the database

Posted on 2004-09-14
4
654 Views
Last Modified: 2008-02-20
Hello....................... PLease HElP me with the following codes:
 
It is from the aspx file......------ THe following codes have been retrieve the image from the database--------------------------------------------------------------
 Private Sub Page_Load(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles MyBase.Load
     '************* get image from the database *************
        ds = db.getdbPictureOrtho(Today.Date)
        DataGrid1.DataSource = ds
        DataGrid1.DataBind()
End Sub

Can HElp me with the enlarging the image from the datagrid ....... Add the codes so that the thumbnail of the image can be seen  when click on it and then enlarge...........

Thanks,,,  alot.............................
0
Comment
Question by:superrr
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
mlpk_tyr earned 50 total points
ID: 12061421
hi,
since i 'm working in the same part but with different tool i ca't give you the code. but i suggest you a way.

1) to give a  enlarged view to the user you can use javascrpt or Jscript to open a new window when you click on the image . this can be set with the window.open  method. hence you can achieve this .

2) or you can get the row and column value of the grid on click of a cell and increase the cell size so that it can accomodate a new image which should be set in the onclick event method. this work when you clicked on a cell and you can call this method during mousr over and mouse out on image.

hope you get an idea,
mlpk_tyr
0
 

Author Comment

by:superrr
ID: 12061548
i did try using javascript but i did it only in the html...
But it also need to be insert into the asp.net format.......

However, i not sure how to insert that particular codes into the asp.net( using Visual Studio.Net 2003)


Can HELP ME...... Can also provide me with some codes for getting the starting of it......

Thanks, Alot....................................................................................

But the second one, i not sure how it works so....... HOW????
0
 

Author Comment

by:superrr
ID: 12062884
Also.... the codes must be written in the aspx.vb ......... for the enlarge image in the datagrid using asp.net........ HELP ME CAN?..........
Give me some sample codes for it that u have suggested.............
Thanks aLot.................................................................................
0
 

Author Comment

by:superrr
ID: 12082081
WHY NEVER RELPLY >>>>>>>>>>>>>

HELP ME WITH THE CODES CAN?

Thanks.................

VERY Important............................................. FOR MINE CODES>>>>>>>>>>>>>>>>>>>

OK>>>>>>>
Thanks Alot.................................................................................
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Not needed 13 119
Android development question 2 53
add projects t working set in maven 2 18
what is the best Integrated development environment 2 20
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

809 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