Asp.net C# diplay textboxes or checkboxes in a listview
<p>I have 2 tables in my database where one table is called "Generic Questions" and the other "Job Questions" both have a column name "Questiontext" So, the idea is they both makeup a job application.</p>

<p>Right now, i only have 3 questions per "Questiontext" but will be adding more later.</p>

<p>I have a data layer where i am accessing this database. The idea is to make something like an application. So, i would like to bind those data sets to labels because they are a series of questions. Then, i could have text boxes next to them or checkboxes. </p>

<p>Is there a way to add textboxes to some questions and add maybe a checkbox to another?</p>

<pre><code>       JobPositionSystemDAL jps = new JobPositionSystemDAL();
        DataSet ds = jps.OpenJobOpeningByID(1);
        DataSet ds2 = jps.GetGenericQuestions();
        ListView1.DataSource = ds;
        ListView1.DataBind();


        ListView2.DataSource = ds2;
        ListView2.DataBind();
</code></pre>

<p>here is the code for the listview. which works good.</p>

<pre><code>&lt;asp:ListView ID="ListView1" runat="server" 
                style="margin-right: 42px; margin-top: 28px; margin-left: 35px;"&gt;
            &lt;LayoutTemplate&gt;
 &lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;asp:PlaceHolder runat="server" ID="itemPlaceholder" /&gt;
 &lt;/tbody&gt;
 &lt;/table&gt;
 &lt;/LayoutTemplate&gt;
 &lt;ItemTemplate&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;%# Eval("QUESTIONTEXT")%&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/ItemTemplate&gt;
 &lt;/asp:ListView&gt;
 &lt;/table&gt;
 &lt;div&gt;

 &lt;asp:ListView ID="ListView2" runat="server"&gt;
 &lt;LayoutTemplate&gt;
 &lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;asp:PlaceHolder runat="server" ID="itemPlaceholder" /&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;/LayoutTemplate&gt;
  &lt;ItemTemplate&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;%# Eval("QUESTIONTEXT")%&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/ItemTemplate&gt;
  &lt;/asp:ListView&gt;
</code></pre>
