Hi, I am doing a web application. In this grid view is used to store the critical terms that user have defined it for their contract. At the alert column, there will be a hyperlink such that when user clicks on the hyperlink, it will become an image to be stored to database. May I know how shld I go abt doing it? And what data type shld I use? Thanks!
I am using 3-tier programming way to code out the project. Thanks!
Loading
Becky BloomwoodPosted Feb 11, 2011, 12:06 AM
Amit ChoudharyPosted Feb 10, 2011, 11:55 PM
Rather than saving the image to database you can store your image in a folder within website and you can save image names on clicking of the hyperlink in to database and at the same time hiding the hyperlink and showing the same image here..
for this you can use Hyperlink server control and create a server side method for it handle everything in it. e.g., hiding link, showing image and call the method from you business logic to save the image name and path into database.
Hope this could help you.
Please mark "Do you like this post" if it helps you.