【发布时间】:2013-10-23 07:43:33
【问题描述】:
我有一个 Windows 窗体中的 datagridview,我必须显示 5 行数据。
我正在使用此代码...
private void DGV_ActivityDtls_DefaultValuesNeeded(object sender, DataGridViewRowEventArgs e)
{
e.Row.Cells[0].Value = "Activities";
e.Row.Cells[1].Value = " ";
e.Row.Cells[2].Value = "LT";
}
对于一行它工作正常,但我还有 4 行。 我是新手,谁能帮帮我?
提前致谢。
【问题讨论】:
标签: c# datagridview