回复 1楼oreoconan的帖子
抱歉,之前的回复有误。
Spread for ASP.NET 设置折行代码如下:
- Dim t As New FarPoint.Web.Spread.TextCellType
- Dim s As String = "This is a test" & Chr(13) & Chr(10) & "for multiline"
- t.Multiline = True
- FpSpread1.ActiveSheetView.Cells(0, 0).CellType = t
- FpSpread1.ActiveSheetView.SetText(0, 0, s)
复制代码 |