Message box without buttons
How to show message box without any button in c#.Just for showing info:
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Khargesh RajputRank #616 · 3.9K reputationPosted Apr 16, 2015, 1:12 AM EDT
or you can add a new form to show Info
Pankil BhattRank #2,947 · 489 reputationPosted Apr 16, 2015, 1:12 AM EDT
protected void Page_Load(object sender, EventArgs e)
{
string message = "Hello! Mudassar.";
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("");
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", sb.ToString());
}