标签: c# asp.net gridview
以下是我的代码:
cat f1.csv f2.csv f3.csv|awk -F',' '$2!="" && $3!=""'
答案 0 :(得分:0)
假设您在按钮点击事件中尝试:
GridViewRow row = (GridViewRow)((Button)sender).NamingContainer; lblBookID.Text = row.Cells[0].ToString();