Nov 26, 2010

Display Message in Browser

 My_Alert(ex.Message);


 public void My_Alert(string str)
    {
        Page.ClientScript.RegisterStartupScript(GetType(), "Message", "<SCRIPT LANGUAGE='javascript'>alert('" + str + "');</script>");
    }

No comments:

Post a Comment

What is the use of n-tier architecture and 3-tier architecture?

how to implement 3-tier architecture in asp.net using c#. 3-Tier architecture is also called layered architecture. Some people called it ...