Tuesday

register javascript asp.net c#

     
string clientScript = @"<script language='javascript'>
alert("hello");
</script>";


this.Page.ClientScript.RegisterStartupScript(clientScript.GetType(),"hello",clientScript);

No comments:

test smtp server with powershell

Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...