获取 GridWeb 发布或版本

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

以下示例代码查找 Aspose.Cells.GridWeb 的运行版本并将其打印在 ASP.NET Label Control 上。

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