如何在asp.net中的aspx.cs页面上找到列表项 [英] how to find list item on aspx.cs page in asp.net

查看:96
本文介绍了如何在asp.net中的aspx.cs页面上找到列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好...
如何在asp.net的aspx.cs页面上找到列表项
UL的主页中有5个项目,而ul和所有列表项目都有一个id.
我想在.aspx.cs主页上找到所有项目
请帮助我


Thankx

hello...
how to find list item on aspx.cs page in asp.net
there are 5 items in UL in master page,and ul and all list item have a one id.
i want to find that all item on home .aspx.cs page
plz help me


Thankx

推荐答案

你好朋友..

我认为您需要访问内容页面的母版页面控件,对吧..?

所以请看这个..

http://odetocode.com/code/450.aspx [ http://www.devcurry.com/2009/02/access- aspnet-master-page-controls-from.html [ ^ ]

使用动态多态性从内容页面访问嵌套母版页面上的控件 [ http://www.codingforums.com/showthread.php?t=116840 [ ^ ]

http://aspnetlibrary.com/articledetails.aspx?article=从内容页面访问主页面控件 [
Hello friend..

i think you need to access a master page control to your content page m i right..?

so for this please see this..

http://odetocode.com/code/450.aspx[^]

http://www.devcurry.com/2009/02/access-aspnet-master-page-controls-from.html[^]

Accessing Controls on Nested Master Pages from Content Pages using Dynamic Polymorphism[^]

http://www.codingforums.com/showthread.php?t=116840[^]

http://aspnetlibrary.com/articledetails.aspx?article=Access-Master-Page-controls-from-the-Content-Page[^]


这篇关于如何在asp.net中的aspx.cs页面上找到列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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