这是用LinkButton实现的
protected void LinkButton1_Click(object sender, EventArgs e)
{
FormsAuthentication.SignOut();
}我想用“链接文本”实现,“链接文本”如何调用FormsAuthentication.SignOut();
???
protected void LinkButton1_Click(object sender, EventArgs e)
{
FormsAuthentication.SignOut();
}我想用“链接文本”实现,“链接文本”如何调用FormsAuthentication.SignOut();
???
能写个代码吗?
在a的onclick事件中 __doPostBack("按钮ID","");