惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
U
Unit 42
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
IT之家
IT之家
MyScale Blog
MyScale Blog
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
I
InfoQ
博客园 - 司徒正美

博客园 - 明月伴我行

摆脱烦人的Google.cn 淘宝助理CSV文件导入后无法显示宝贝图片的解决办法 Orcas 将不包括ADO.NET Entity Framework 用WINDOWS FORM写阻抗机3540、3541测量程序 Firefox中文字型的设置 Sharepoint server 2007 中文版出来了,msdn订阅用户可以下载了 Virtual Server+Vmware+WideScreen Solve problem searching file in Emule and error occurs:Please Use Emule 0.47c And Enable Protocol Obfuscation To Get Results 要找1-2个美工,有合适的人联系看看 含有运算符的STRING得到计算结果,类似JS的EVAL 發布asp.net 2.0項目中出現的錯誤,請各位指點。 Today is my birthday 產生隨機數 表单验证类 人民幣小寫金額轉換為大寫函數 INI类 安裝Visual Studio 2005 July CTP 中的Visio辦法 郁悶,寫了幾個星期的asp程序 自定格式字串formatstring:
WebGrid.net 3.5 Column圖像鏈接的用法
明月伴我行 · 2005-07-17 · via 博客园 - 明月伴我行

1.設定ColumnType為HyperLink;
2.設定HyperLinkDisplayText為:<img border=0 src='images\detail.gif'>
3.如果要在新窗口中彈出,設定Hyperlinktarget為"_blank"
4.加入代碼:

 1private void WebGrid1_InitializeRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
 2        {
 3            if (e.Row.Type == RowType.Record) 
 4            {
 5                WebGridCellCollection cells = e.Row.Cells;
 6                
 7                
 8                cells.GetNamedItem("Detail").Value   = "ProductDetail.aspx?ID=" + cells.GetNamedItem("編號").Text.Trim() ;
 9            }

10
11        }