cxSpreadBook 或 cxSpreadSheet 设置成文本格式

cxSpreadBook 或 cxSpreadSheet 设置成文本格式


 TcxSSDataType = (dtText, dtFunction, dtDateTime, dtControl);


cxSpreadSheet1.Sheet.GetCellObject(col, row).Style.Format:=1; //1代表字符串类型

cxSpreadSheet1.Sheet.GetCellObject(col, row).Text:='0';

猜你喜欢

转载自blog.csdn.net/fkedwgwy/article/details/79713737
今日推荐