获取 GridWeb 发布版或版本

获取 Aspose.Cells.GridWeb 的发布或运行版本

以下示例代码会找到 Aspose.Cells.GridWeb 的运行版本,并在 ASP.NET 标签控件上打印出来。

// 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 文件的版本号。

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;
}