Spread常用属性

Spread常用属性


2024年4月11日发(作者:photoshop在线使用网页版)

Spread 常用属性

Spread 常用属性

1 取得当前行号、列号。

int row=;

int count=;

或者:

int rowindex = RowIndex;

int columnindex = ColumnIndex;

2 单击一行变颜色。

private void spdResult_CellClick(object

ickEventArgs e)

{

//单击Spread列头时,什么也不处理

sender,

if(!Header)

{

if([0].!=0)

{

for(int i=0;i<[0].;i++)

{

[0].Rows[i].BackColor=;

}

int row=;

[0].Rows[row].BackColor=

gb((()(192)), (()(255)), (()(255)));

}

}

}

3 将Spread的单元格内容付值给一控件的Text

= [0].Cells[row,count].Text;

4 给Spread的指定单元格付值。


发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1712849628a2134177.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信