检查经典的asp代码 [英] Check the classic asp code

查看:64
本文介绍了检查经典的asp代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参阅经典的ASP代码.我想将其转换为asp.net.请帮助如何编写此代码,以及不支持len函数.

see the classic asp code. I want to convert it into asp.net. Please help how to write this code and also len function not supported.

<%if len(# Eval("news_summary"))>200 then%><br class="spacer"><br class="spacer"><span style="font-size: .9em"><a href=''<%=web%>/news/<%=(# Eval("news_title"))%>-<%=(# Eval("news_id"))%>.asp''>Continue Reading</a></span><%end if%>



在此先感谢



Thanks in advance

推荐答案

我将带您进入一些基本的ASP.NET教程,例如W3Schools的非常好的教程:
http://www.w3schools.com/aspnet/aspnet_intro.asp [
I would forward you to some basic ASP.NET tutorial like the very good one at W3Schools:
http://www.w3schools.com/aspnet/aspnet_intro.asp[^].

They also explain the difference between classic ASP and ASP.NET.

I think it''s important to understand that ASP and ASP.NET aren''t that similar as one might think (by the mere names). Therefore in my opinion, it is a good exercise for you to reimplement the functionality you posted by yourself.


这篇关于检查经典的asp代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆