这个是后端的
![](http://tiebapic.baidu.com/forum/w%3D580/sign=47bb47d3da82d158bb8259b9b00b19d5/7b4cd21b0ef41bd53bdc29c917da81cb38db3dd6.jpg?tbpicau=2024-07-06-05_01278eaa2c4458f66ca319fce6c8e0d8)
<scripttype="text/javascript">
varhandsontableData = <%:GetDataForHandsontable()%>;
var hot = newHandsontable(document.getElementById('handsontable'), {
data: handsontableData,
licenseKey: 'non-commercial-and-evaluation',
contextMenu: true,
// 其他Handsontable选项
});
</script>