hey folks!
i'm trying to clear some cells in a datagrid, and can't figure out how to do it. here's what i got so far :
in vb6 this approach used to work: setting row and column, and then setting the text property. but in .NET i'm kinda lost.
such a simple task ...
thanks for any insight you ay have,
G.
i'm trying to clear some cells in a datagrid, and can't figure out how to do it. here's what i got so far :
Code:
//clear the three last columns
for (i=3;i<=5;i++)
{
for (j=1; j<=4;j++)
{
DGStats.CurrentCell = new DataGridCell(j, i);
DGStats.Text = string.Empty;
}
}
in vb6 this approach used to work: setting row and column, and then setting the text property. but in .NET i'm kinda lost.
such a simple task ...
thanks for any insight you ay have,
G.