日期:2014-05-18 浏览次数:20559 次
void CustomeRowDataBound(Object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
// Display the company name in italics.
e.Row.Cells[索引值].Text = (int.Parse(e.Row.Cells[索引值].Text) == 1) ? "对" : "错";
}
}