62,267
社区成员
发帖
与我相关
我的任务
分享
if (!IsPostBack)
{
BindData();
string strtxt="";
//先判斷一下Gridview是否為空
if (CPSGridView1.HeaderRow != null){
foreach (GridViewRow Row in G_dq.Rows)
{
strtxt += Row.Cells[1].Text + ",";
}
}
Response.Write(strtxt);
}