在论坛找了DataGridView增加固定行的代码,原文
protected override void OnRowPrePaint(DataGridViewRowPrePaintEventArgs e)
{
base.OnRowPrePaint(e);
在vs2010中的c#运行,第一句就出现错误提示:
“错误 1 “UnionCellDuty.UnionCellDuty.RowPrePaint(System.Windows.Forms.DataGridViewRowPrePaintEventArgs)”: 没有找到适合的方法来重写 F:\c#范例\mingrisoft\02\Ex02_34\UnionCellDuty\UnionCellDuty\UnionCellDuty.cs 114 33 UnionCellDuty”
修改为: protected override void RowPrePaint(DataGridViewRowPrePaintEventArgs e)
{
base.onRowPrePaint(e);
问题依旧,高手指点啊,环境是vs2010,c#
protected override void OnRowPrePaint(DataGridViewRowPrePaintEventArgs e)
{
base.OnRowPrePaint(e);
在vs2010中的c#运行,第一句就出现错误提示:
“错误 1 “UnionCellDuty.UnionCellDuty.RowPrePaint(System.Windows.Forms.DataGridViewRowPrePaintEventArgs)”: 没有找到适合的方法来重写 F:\c#范例\mingrisoft\02\Ex02_34\UnionCellDuty\UnionCellDuty\UnionCellDuty.cs 114 33 UnionCellDuty”
修改为: protected override void RowPrePaint(DataGridViewRowPrePaintEventArgs e)
{
base.onRowPrePaint(e);
问题依旧,高手指点啊,环境是vs2010,c#
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货