|Here is the Google Translate for the message:
Cordial greeting team of Programacion.net writes hernán Martínez greetings from Colombia, I appreciate if you can help me about the inconvenience I have regarding the opening of a website that I have developed using the programming languages of ASP.Net:
First I have to clarify that I have several pages of similar development within my project where I make use of the MessageBox.show function
But opening this page using a hyperlink or hyperlink shows me the following error:
Server error in application '/'.
Description: An error occurred while compiling a resource required to service this request. Review the specific error details below and modify the source code accordingly.
Compiler error message: CS0103: The name 'MessageBox' does not exist in the current context
I have seen forums where they clarify this inconvenience and the solutions they pose to me is:
• Use Alerts instead of MessageBox
• Include the System.Windows.Forms reference and include
using System.Windows.Forms;, which I have done but have not been successful.
The idea as is obvious is that it serves me with the 'MessageBox' function, as it serves me on the other pages of my project.
Thank you very much for the collaboration you can give me