we can able to display a MessageBox in asp .net without
using any script langages?

Answers were Sorted based on User's Feedback



we can able to display a MessageBox in asp .net without using any script langages?..

Answer / sandeep

validation summary control

Is This Answer Correct ?    27 Yes 4 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / lakshmikanth

yes we can add first click on add reference and

add "system.windows.froms" dll in windows which pops up

then start using

System.windows.forms.messagebox.show("i love
india","Lakshmikanth");

Is This Answer Correct ?    20 Yes 7 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / ananthu

Yes . use vb.net has Messagebox

Is This Answer Correct ?    13 Yes 7 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / karan munjal

No, We can't able to display a msgbox in asp.nt

Is This Answer Correct ?    16 Yes 12 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / ajit

using system.Text;(namespace)
and applying following code
string myStringVariable = string.Empty;

myStringVariable = "Welcome";



ClientScript.RegisterStartupScript(this.GetType(),
"myalert", "alert('" + myStringVariable + "');", true);

on button click...

Is This Answer Correct ?    1 Yes 0 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / rathika.k

using System;
using System.Runtime.InteropServices;

namespace ExternKey
{
class Class1
{
[DllImport("User32.dll")]
public static extern int MessageBox(int h,
string m, string c,int type);
static void Main(string[] args)
{
string mystring;
Console.Write("Enter Your
Message : ");
mystring = Console.ReadLine();
MessageBox(0,mystring,"Message",0);
}
}
}

Try like this. It will workout without using any Script
Language.

Is This Answer Correct ?    1 Yes 1 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / raks

No, We can't able to display a msgbox in asp.net..

Is This Answer Correct ?    1 Yes 1 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / mohit jethva

by using DLLImport(USER32.dll)
you can use msgbox in .net

Is This Answer Correct ?    7 Yes 9 No

Post New Answer

More ASP.NET Interview Questions

What is asp.net mvc? : asp.net mvc

0 Answers  


What is the difference between abstract class vs interface? Can give me the real time examples?

0 Answers  


what is the difference between response.write() and response.output.write()?

0 Answers  


What is web.config. How many web.config files can be allowed to use in an application?

6 Answers   Accenture, HCL, InterGraph, iSoft,


Which tool you have done?

0 Answers  






When we do partial refresh of a page using update panel how server knows it(which event occurs?)

2 Answers  


How can we create custom controls in asp net?

0 Answers  


Is it necessary to create a Windows application or Web application to test a Web service ? Is it must to consume this service?

2 Answers   Siebel,


What are uri parameters?

0 Answers  


what is meant by sitemapnode ?

0 Answers   Netsweeper,


how to convert from sql2000 numeric to int in asp.net with sqlparameter?

1 Answers  


how we declare interface

2 Answers  


Categories