Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
A short article about problems I had with the new location API and permissions in Marshmallow
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 …
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now