Hi,
this is my C# code
string str="Total Records" + Total+Environment.NewLine+ " Inserted Records " + Insert_Count ;
when i call the message box it's not fired.
msgbox1.alert(str);
i think i need to be change on this alert method , where can i change .
public void alert(string msg)
{
string sMsg = msg;
sMsg = msg.Replace("\"", "'");
StringBuilder sb = new StringBuilder();
sb.Append("<script language='javascript'>");
sb.Append("alert( \"" + sMsg + "\" );");
sb.Append("</script>");
content = sb.ToString();
}
can anybody help me to resolve this issue.
Thanks in Advance
Wish you a Happy New year to ALL.