是否可以在html设计中添加c#代码。 [英] Is it possible to add c# code in html design.
本文介绍了是否可以在html设计中添加c#代码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
我想使用html page发送电子邮件。不使用aspx页面。但我想使用一些c#代码在html设计中发送电子邮件。
Hi friends,
I want to send email using html page.not using aspx page.but i would like to use some c# code for sending email in html design.
推荐答案
否。
C#代码在服务器上执行,HTML和Javascript在客户端执行。
你不能发送代码从客户端到服务器,因为这将是*主要*安全风险!
No.
C# code is executed at the Server, HTML and Javascript are executed at the Client.
You cannot "send code" from the Client to the server as that would be a *major* security risk!
这篇关于是否可以在html设计中添加c#代码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文