设计一个页面:
id分别为:
static double num1=0,num2=0, num3=0, sum=0;
protected void Page_Load(object sender, EventArgs e)
{
this.Title = "Cookie使用示例";
if (!IsPostBack) //如果是首次加载
rbtnBook.SelectedIndex = 0; //设置单选按钮组中第一个供选项处于选中状态
}
protected void btnOk_Click(object sender, EventArgs e)
{
if (Request