遍历后面代码中的所有aspx页面元素 [英] loop through all aspx page elements in the code behind

查看:248
本文介绍了遍历后面代码中的所有aspx页面元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我无法实现这一目标,不胜感激:)

在我后面的cs页面代码中,我试图遍历所有aspx页面元素"
并从数据库内容中更改它们.
我的问题是关于遍历所有元素",而不是如何
创建数据库连接.

假设我有一个网站,用户可以选择Lang进行展示
如果用户更改了语言,我想相应地更改每个内容"
如,div,img,a href等.

我希望我能很好地解释自己.

谢谢Eran

Hi i cant manage to achieve this one appreciate any help:)

in cs page code behind i am trying to loop through all aspx page "elements"
and change them from DB content.
my question is regarding "loop through all element" and not how to
create DB connection.

suppose i have a site which the user can choose Lang for display
if the user change the Lang i want to change every "content" accordingly
such as ,div ,img ,a href etc.

i hope i explain my self well.

Thanks Eran

推荐答案

此处开始 [ ^ ].


这篇关于遍历后面代码中的所有aspx页面元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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