|
|
|
|
|
|
WB 发帖数: 170 | 1 how to clear all value of cell in datagridview?
how to copy rows to another datagridview?
how to locate a cell with row/col id?
set to the row or colume or cell i want (set to curor to the row /col/cell?
i canot find moveto() such functions.
can paged the datagrid ?set a datagrid's page of rows?
how to remove the datagrid's all rows and columes?
i tried for i=0 tp dv.row.cont; i++
dv1.rows.removeat(i)
but got exceptoin. not commit the new row. | k****i 发帖数: 1072 | 2 quick glimpse:
to count or count-1?
Try the help file first.
【在 WB 的大作中提到】 : how to clear all value of cell in datagridview? : how to copy rows to another datagridview? : how to locate a cell with row/col id? : set to the row or colume or cell i want (set to curor to the row /col/cell? : i canot find moveto() such functions. : can paged the datagrid ?set a datagrid's page of rows? : how to remove the datagrid's all rows and columes? : i tried for i=0 tp dv.row.cont; i++ : dv1.rows.removeat(i) : but got exceptoin. not commit the new row.
| s*i 发帖数: 5025 | 3 try
i= dv.row.cont-1; i>=0; i--
Also, there should be rows.Clear() function (something like this, I didn't
check)
【在 WB 的大作中提到】 : how to clear all value of cell in datagridview? : how to copy rows to another datagridview? : how to locate a cell with row/col id? : set to the row or colume or cell i want (set to curor to the row /col/cell? : i canot find moveto() such functions. : can paged the datagrid ?set a datagrid's page of rows? : how to remove the datagrid's all rows and columes? : i tried for i=0 tp dv.row.cont; i++ : dv1.rows.removeat(i) : but got exceptoin. not commit the new row.
|
|
|
|
|
|