コード例 #1
0
ファイル: Goal.aspx.cs プロジェクト: hectorhaas/HasehGoals
 protected void btnAddComment_Click(object sender, EventArgs e)
 {
     try
     {
         Goals gi = new Goals(Request.QueryString["id"].ToString());
         gi.addComment(txtComment.Text, Session["GoalOwner"].ToString());
         txtComment.Text = "";
         //RepopulateTable
         populateCommentsTable();
     }
     catch (Exception ex)
     {
         txtComment.Text = "Error: " + ex.ToString();
     }
 }