Hi, I have a string builder which does the following,
StringBuilder sb = new StringBuilder();
sb.AppendLine("-Agency name cannot be empty");
sb.AppendLine("-Phone cannot be empty");
now i also have this,
ScriptManager.RegisterStartupScript(this.UpdatePanel1, typeof(string), "script", "alert('" + sb.ToString()+ "');", true);
but i have the error, "unterminated string constant stringbuilder"
any idea what to do? to get rid of this..
Thanks,