SPREAD for ASP.NET 8.0J サンプルコード集
URL以外のテキストを表示する

ハイパーリンク型セルを設定したセルのTextプロパティにテキストを設定します。

実行例:

HyperLinkCellType hp = new HyperLinkCellType()
{
    NavigateUrl = "http://www.grapecity.com/tools/"
};
FpSpread1.Cells[0, 1].CellType = hp;
FpSpread1.Cells[0, 1].Text = "GrapeCity";
Dim hp As New HyperLinkCellType() With { 
    .NavigateUrl = http://www.grapecity.com/tools/
}
FpSpread1.Cells(0, 1).CellType = hp
FpSpread1.Cells(0, 1).Text = "GrapeCity"

 

 


© 2013-2015, GrapeCity inc. All rights reserved.