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

推荐订阅源

博客园 - 叶小钗
MyScale Blog
MyScale Blog
博客园 - 【当耐特】
I
InfoQ
腾讯CDC
aimingoo的专栏
aimingoo的专栏
L
LangChain Blog
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Vercel News
Vercel News
C
Check Point Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
D
Docker
MongoDB | Blog
MongoDB | Blog
量子位
博客园_首页

博客园 - 明月伴我行

摆脱烦人的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        }