Alvo,
The MessageBox class is a member of the System.Windows.Forms namespace,
which you should not be using in an ASP.NET application. Rather, you have
to use javascript on the client side to get a messagebox to pop up in the
browser.
Regardless, this is a function of the base class library, as well as how
ASP.NET applications work in relation to console or windows applications,
not a matter of the language. The C# you use in ASP.NET is the same as
anywhere else. However, the model of ASP.NET applications compared to
console or windows applications is completely different.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Alvo von Cossel I said:
hi,
well, if you have visual web developer, there is no messagebox in the
IntelliSense drop down menu. there is mbox and the program tells me that
it
is the equivelant but it is still not the same. i cant really cope with
language change
--
Alvo von Cossel I of Germany
Nicholas Paldino said:
Alvo,
How is it different? Last I checked, it was the same C# that I use
for
all my other apps.
Can you give an example?
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
message hi,
why is the ASP.NET C# different to the ordinary C#? i cannot create C#
websites in asp.net because of this