title: I am using one label and checkbox,but label and checkbox should generate dynamically
body: <pre><code>private void SetAnswer()
  {
      StrQuery = "SELECT AnswerID,Answer FROM TBL_Answer where QuestionID='" + QID + "'";
      oDt = ClsConnection.ExecuteSelectQry(StrQuery);
      for (int i = 0;i&lt; oDt.Rows.Count; i++)
      {
          //if (oDt.Rows.Count &gt; 0)
          {
              Label lbl = new Label();
              LblAnswer.Text = oDt.Rows[i]["Answer"].ToString();
  
              chckbox.Visible = true;
          }
      }
  }
  </code></pre>
  
  <p>I am using one label and one checkbox but it showing single label and checkbox ,but label and checkbox should generate dynamically depending upon the question's option.</p>