1
Answer

Display Image on 2nd form

Photo of shah

shah

17y
2k
1
Hi, I have 2 forms, on one form i want to browse image and want to save them in array or arraylist and show on 2nd form that selected image. How would that be done? One more query is that if i want to show that image in 2nd form can i set the size of image to be shown in a proper place as thier will be some more images will be later on adding to that form as well. Please help. Thanks

Answers (1)

-1
Photo of Ankit Sharma
NA 8.8k 141k 7y
Hi Nazmul,
 
you can install sweetalert using Nuget packagemanager console
 
Install-Package SweetAlert 
 
use this link to know how to use sweet alert in razor pages
 
http://www.c-sharpcorner.com/article/introduction-to-sweetalert-library-in-asp-net-mvc-razor/ 
 
you can also get some alert box examples here
 
https://limonte.github.io/sweetalert2/ 
 
https://sweetalert.js.org/docs/
-1
Photo of Pramod Thakur
NA 7.3k 791.7k 7y
Follow this article.
 
http://www.c-sharpcorner.com/UploadFile/4d9083/sweet-alert-with-mvc/