我如何链接项目符号列表项 [英] how can i link a bulletedlist items

查看:93
本文介绍了我如何链接项目符号列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以将通过C#代码添加到网页的项目链接到链接的项目,因为我想将这些项目与其在特定目录中的引用链接起来.
如果还有其他方法(项目符号列表除外),请给我建议.

请记住,项目不是通过设计添加的,而是通过编码添加的,它可能会根据我使用的特定标准而更改.

因为项目是存储在特定目录中的文件列表,并且我想在另一个网页中打开文件,所以我想到了bulletedlist.

is there a way to link the items -added to the webpage by C# code- to a linked items, coz i want to link the items with their reference in specific directory.
and if there is an alternative (other than bulletedlist)please advice me.

keep in mind that the items are added by coding not by design coz it may change according to a specific criteria i am using.

because the items are list of files stored in a specific directory, and i want to open the file in another webpage so i thought of bulletedlist.

推荐答案

您的问题不是完全清楚.但是,您可以创建一个GridView,并使用TemplateFields来填充HyperLink控件.这可能会帮助您:如何在网格视图中动态创建模板列 [
Your question is not entirely clear. However, you could create a GridView and, using TemplateFields, populate a HyperLink control. This might get you going: How to create template columns dynamically in a grid view[^].

Strange as it may seem, there are a myriad of excellent articles on Code Project: next time search here first and then degrade gracefully to Google if you can''t (shockingly) find what you need. :-)


这篇关于我如何链接项目符号列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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