how to program alerts and warning messages using c#.net [closed]
how to program alerts and warning messages using c#.net
In web? Try this:
string textForMessage = @"<script language='javascript'> alert('test\ntest\ntest\ntest');</script>";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "UserPopup", textForMessage);
Output
Got it here
精彩评论