111,126
社区成员
发帖
与我相关
我的任务
分享
protected void DataGridView_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cell[2].Text= (Convert.ToInt32(e.Row.Cell[0].Text)*Convert.ToInt32(e.Row.Cell[1].Text)).ToString();
}
}
catch (Exception ex)
{
}
}