Solved

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

Posted on 2004-09-14
4
655 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

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

Suggested Solutions

Title # Comments Views Activity
T-SQL:  Sigh---Boy, this is fun.... 12 67
ejb stateless example 2 40
How to share My.Settings in multiple application instances ? 7 48
"lblTime is not declared" 3 28
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

713 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