获取 GridWeb 发布或版本
Contents
[
Hide
]
请使用Aspose.Cells.GridWeb.GridWeb.GetVersion()方法获取Aspose.Cells.GridWeb的发布或运行版本。该版本将帮助您通过代码找到运行时的 GridWeb 版本。
获取 Aspose.Cells.GridWeb 的发布或运行版本
以下示例代码查找 Aspose.Cells.GridWeb 的运行版本并将其打印在 ASP.NET Label Control 上。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
// Find version of GridWeb and display in label. | |
string version = Aspose.Cells.GridWeb.GridWeb.GetVersion(); | |
Label1.Text = "GridWeb Version: " + version; |
查找 GridWeb 客户端脚本文件的版本号
您还可以找到 acwmain.js 的版本号,它是 GridWeb 的客户端脚本文件。它包含一个变量 acw_version,其中包含 acwmain.js 文件的版本号。您可以像这样在控制台上打印 acwmain.js 文件的版本号
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
function GetVersion() | |
{ | |
alert(acw_version); | |
console.log(acw_version); | |
return false; | |
} |