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

If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.

0 Answers   Siebel,


How can we implement a identity (sql server) call in an asp.net page?

0 Answers  


How many web.config files in each solution

10 Answers   General Mills,


What are the difference between ASP and ASP.Net?

4 Answers   Accenture, Mphasis,


Why the javascript validation not run on the asp.net button but run successfully on the html button?

0 Answers  






What is http only cookie?

0 Answers  


Differentiate between early binding and late binding.

0 Answers  


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

2 Answers   Marlabs,


How to kill session?

18 Answers   Protech,


I have prepared A Dynamic website in asp.net with c# and using Ms Sql server 2005 as backend database.i am facing problem while uploading this site on my FTP address it is not accessing the database.please could u tell me how cn i upload Sqlserver database on the web and what would be the connection string...???? I am using Server=".";initial catalog=databasename;persist security info=false;integrated security=SSPI;...pleas help me... Thanks in Advance..

1 Answers  


hi everyone. can anyone send me wipro interview questions on .net. plz its urgent

1 Answers   Wipro,


what is advantage of developing in asp.net.why the same can't be developed in Java or other web developemnt tool.what are advantages of developers.

4 Answers   IBM,


Categories