当前位置:网站首页>vs怎么用一个Button链接到另一个页面
vs怎么用一个Button链接到另一个页面
2022-08-09 13:15:00 【Serendipity_-】
方法1:
设置按钮的onclick事件:onclick="aa.aspx"
方法2:
Response.Redirect("aa.aspx");
方法3:
Response.Write("<script>window.loaction.href='aa.aspx'</script>");
方法4:
Response.Write("<script language='javascript'>window.location='IndexNew.aspx'</script>");
边栏推荐
猜你喜欢
随机推荐
CutefishOS系统默认自动桌面壁纸
哈希表卡片
使用 NVIDIA Kaolin Wisp 重建3D场景
Record the system calls and C library functions used in this project-2
NC161 二叉树的中序遍历
JZ7 重建二叉树
MySQL主从同步原理
NC61 两数之和
group by的工作原理和优化思路
蓝桥历届真题-跑步锻炼
RobotFramework 之 Setup和Teardown
tianchi过往方法
易语言获取cookie
服务器被攻击了三次,还把我的数据库删除了,还想要我汇钱赎回数据
NC192 二叉树的后序遍历
NC7 买卖股票的最好时机(一)
FFmpeg长时间无响应的解决方法
什么是布隆过滤器?如何使用?
offset、client、scroll、window.pageYOffset比较
Come and throw eggs.









