一般在 GirdView 的 TemplateField 中的控制項執行 PostBack 時都需要取得目前對應的資料列。
假設在 TemplateField 中有個按鈕 Button1,當 GridView 的某列按鈕執行 PostBack 時,可以利用下述方式取得對應的資料列。
ASP.NET 魔法學院
2008/3/17 00:16|
閱讀數 : 1896
|
我要推薦
|
|
文章分類:
ASP.NET 基礎
訂閱
DotBlogs Tags:
GridView
TemplateField