示例#1
0
 protected void BtnAddQuestion_Click(object sender, EventArgs e)
 {
     if (this.IsValid == true)
     {
         //throw new Exception("hi");
         int QuestionId = JobPost_Question.AddJobPost_Question(int.Parse(Request.QueryString["Id"]), DateTime.Now, TxtQuestion.Text, "Active");
         TxtQuestion.Text            = string.Empty;
         DivAddQuestionModal.Visible = false;
         ShowQuestions();
     }
 }