Button1.Attributes.Add("onclick","yemian('"+a+"');");
a是一个变量我为什么不能把这一个变量传过呢?不好意思我真的是没有分了。帮帮我呀。