示例#1
0
    protected void AddCommentButton_Click(object sender, EventArgs e)
    {
        srv = new localhost.Service();
        string mid = Movies.GetMovieByID(Request["mid"].ToString()).GetGlobalID().ToString();

        srv.AddComment(mid, CommenterNameTextBox.Text, NewCommentTextBox.Text);

        Response.Redirect("/Pages/OneMovie.aspx?mid=" + m1.GetID());
    }