[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 669
  • Last Modified:

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

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
superrr
Asked:
superrr
  • 3
1 Solution
 
mlpk_tyrCommented:
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
 
superrrAuthor Commented:
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
 
superrrAuthor Commented:
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
 
superrrAuthor Commented:
WHY NEVER RELPLY >>>>>>>>>>>>>

HELP ME WITH THE CODES CAN?

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

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

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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now