Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Gridview圖型顯示的問題
Jul 15th 2013, 01:06

開發環境:ASP.NET FOR C# 2.0、Informix

各位前輩大家好,最近因工作需要寫一個Gridview判斷圖型顯示的功能,例如 如果已經存在日期的話,則右方編輯的圖型會隱藏,如果不存在日期的話,則會顯示編輯的圖型並可以Click,想請問各位前輩這功能應如何撰寫?謝謝!
欄位分別為:ID、日期、編輯

原Gridview編輯功能的程式碼:

<asp:TemplateField HeaderText="編輯">
<ItemTemplate>
<asp:HiddenField ID="hidE" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "e_id").ToString()%>' />

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: 'You Say What You Like, Because They Like What You Say' - http://www.medialens.org/index.php/alerts/alert-archive/alerts-2013/731-you-say-what-you-like-because-they-like-what-you-say.html

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 kko2oj3x91bmh 的頭像
    kko2oj3x91bmh

    派遣女醫x線上看 派遣女醫x劇情 派遣女醫x第2部 派遣女醫x 線上 派遣女醫x 2 派遣女醫x 2線上看 派遣女醫x第二部 派遣女醫x第2部線上看

    kko2oj3x91bmh 發表在 痞客邦 留言(0) 人氣()