DialogResult result; result=MessageBox.Show("You must enter a name.", "Name Entry Error",MessageBoxButtons.YesNo,MessageBoxIcon.Information,MessageBoxDefaultButton.Button1,MessageBoxOptions.ServiceNotification); if(result==DialogResult.Yes) { Response.Write("yes"); }
这个问题我也急呀!
在asp.net vb中如何实现对话框
result=MessageBox.Show("You must enter a name.", "Name Entry Error",MessageBoxButtons.YesNo,MessageBoxIcon.Information,MessageBoxDefaultButton.Button1,MessageBoxOptions.ServiceNotification);
if(result==DialogResult.Yes)
{
Response.Write("yes");
}
sub buttClick(operButt)
if (1=MsgBox("确实要删除该记录吗?",1,"信息")) then
......
end if
end sub
</script>
[email protected],[email protected]