int a= zongfen.Score;改成 var a= zongfen.Score;script里面都是用var代表变量的,没有什么int,string之类的
如果是后台,var 改为int 若为前台 int 改为 var
int a= zongfen.Score.Value;可能是这个