开发者

mailTo in asp.net MVC 2.0

开发者 https://www.devze.com 2023-01-04 16:58 出处:网络
how can I use mailto in asp.net MVC 2.0 Website. <a href=\"mailto:astark1@unl.edu\"><b>Simple MailTo</b></a>

how can I use mailto in asp.net MVC 2.0 Website.

<a href="mailto:astark1@unl.edu"><b>Simple MailTo</b></a>

I must get email from Model. I ne开发者_JS百科ed something like this:

Html.MailTo(Model.item.email)

Thanks.


<a href="mailto:<%=Model.item.email%>"><b>Simple MailTo</b></a>
0

精彩评论

暂无评论...
验证码 换一张
取 消