标签:io ar sp for on art cti 代码 bs
1、前端代码
</form> //注意放在form下面
<script>
function readRegedit() {
var obj = new ActiveXObject("WScript.Shell");
var s="HKEY_CURRENT_USER\\SOFTWARE\\Universal Travel Group\\Client\\Parameter";
var sNic = obj.RegRead(s);
alert(sNic);
}
</script>
2、后台代码
protected void Button1_Click1(object sender, EventArgs e)
{
PageContext.RegisterStartupScript("readRegedit");
}
标签:io ar sp for on art cti 代码 bs
原文地址:http://www.cnblogs.com/xihong2014/p/4108532.html