Access Radio Buttons inside Table in Controller in ASP.Net MVC

Last Reply 10 months ago By dharmendr

Posted 11 months ago

hi everyone.

I am newbie to MVC 

I have created a small feedback form which contains a set of questions where each question have five opinions (e.g. Very Good, Good, Average, Bad, VeryBad).

I have desined this in Html Table, Now I am in trouble I dont have idea how to create a modal for that and also how to insert records inside database..

please give some explanatory solution so that I can achieve this task and understand the concepts.

Please give solution in MVC...

<table>
    <tr>
        <td>3.</td>
        <td style="text-align: left">Question 1</td>
        <td class="cell-center">
            <input id="Athree" name="Athree" type="radio" value="StronglyAgree" />
        </td>
        <td class="cell-center">
            <input id="Radio49" name="Athree" type="radio" value="Agree" />
        </td>
        <td class="cell-center">
            <input id="Radio50" name="Athree" type="radio" value="Neutral" />
        </td>
        <td class="cell-center">
            <input id="Radio51" name="Athree" type="radio" value="Disagree" />
        </td>
        <td class="cell-center">
            <input id="Radio52" name="Athree" type="radio" value="StronglyDisagree" />
        </td>
    </tr>
    <tr>
        <td>4.</td>
        <td style="text-align: left">Question 2  </td>
        <td class="cell-center">
            <input id="Afour" name="Afour" type="radio" value="StronglyAgree" />
        </td>
        <td class="cell-center">
            <input id="Radio53" name="Afour" type="radio" value="Agree" />
        </td>
        <td class="cell-center">
            <input id="Radio54" name="Afour" type="radio" value="Neutral" />
        </td>
        <td class="cell-center">
            <input id="Radio55" name="Afour" type="radio" value="Disagree" />
        </td>
        <td class="cell-center">
            <input id="Radio56" name="Afour" type="radio" value="StronglyDisagree" />
        </td>
    </tr>
</table>

Thanks In Advance..

This question does not have replies marked as Answer.