Example #1
0
        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            int flag = operate.InsertAboutUS(this.txtAddress.Text, this.txtPhone.Text, this.txtMessage.Text);

            if (flag >= 1)
            {
                Alert.ShowInParent("保存成功");
            }
            else
            {
                Alert.ShowInParent("保存失败");
            }
        }