功能效率 [英] Efficiency of function

查看:91
本文介绍了功能效率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是想问这个,


使用一个以任何方式从数据库中检索数据的函数是一个好习惯,并返回与大量卡盘连接的数据html字符串,而不是只返回数据?


在某些情况下,html页面中需要使用循环。

解决方案

您好


感谢您在此发帖。


对于您的问题,您能否更清楚地描述您的问题? ?


如果你的问题与html有关,你可以在以下论坛发帖。


https://forums.asp.net/130.aspx/1?HTML+CSS+and+JavaScrip t


我们正在等待您的更新。


最好的问候,


杰克


Just wanted to ask this,

is it a good practice to use a function which retrieves data from a database by any means and returns the data concatenated with large chucks of html strings, instead of only returning only the data?

Yes for loops would be required in some cases in the html page.

解决方案

Hi

Thank you for posting here.

For your question, could you describe your problem more clearly?

If your question is related to html, you could post in the following forum.

https://forums.asp.net/130.aspx/1?HTML+CSS+and+JavaScript

We are waiting for your update.

Best Regards,

Jack


这篇关于功能效率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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