Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

Posted on 2004-09-14
4
Medium Priority
?
677 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 150 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

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Today, unlike web development, the mobile landscape is complex enough for a software engineer and Android is posing more challenging environment thanks to its fragmentation issues on hardware and software fronts.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Six Sigma Control Plans

579 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