skip to main | skip to sidebar

這~~~就是我!

2009年1月15日 星期四

在Gridview,針對Header粗體的處理

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) {
if (e.Row.RowType == DataControlRowType.Header)
{
foreach(TableCell cell in e.Row.Cells)
cell.Attributes.Add("style","FONT-WEIGHT:normal");
}
}




參考:http://topic.csdn.net/t/20060712/22/4876677.html#
張貼者: Gemma 於 晚上10:29

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

Family 3probe BLOG

  • Selene
  • Polly
  • Panda
  • Paladin
  • Lillian
  • Hana
  • Keen

Nice Blog

  • The will will web
  • 黑暗執行緒
  • MIS 2000 Lab. 資訊工作室
  • .NET WALKER
  • ASP.NET魔法學院
  • JerryTung

網誌存檔

  • ►  2010 (6)
    • ►  12月 (2)
    • ►  11月 (2)
    • ►  3月 (2)
  • ▼  2009 (10)
    • ►  11月 (1)
    • ►  9月 (1)
    • ►  6月 (2)
    • ►  4月 (1)
    • ►  3月 (1)
    • ▼  1月 (4)
      • 在Gridview,針對Header粗體的處理
      • 使用SqlDataSource時,請注意
      • 在GridView,針對Button的設定
      • 網頁也可有訊問方塊MessageBox:Yes No
  • ►  2008 (20)
    • ►  12月 (2)
    • ►  11月 (3)
    • ►  10月 (5)
    • ►  8月 (2)
    • ►  7月 (5)
    • ►  6月 (3)

關於我自己

Gemma
檢視我的完整簡介