Quantcast
Channel: User mykhailovskyi - Stack Overflow
Viewing all articles
Browse latest Browse all 29

Answer by mykhailovskyi for How to create HTML valid table with form inside rows

$
0
0

I think I have understood what do you need. You can make one simple table and into each row put only one td which keep form. Something like this:

<table>

@{
    foreach (var item in Model.MyCollection)
    {
        <tr>
            <td>
                <form>
                    <table>
                        and hear put your existing row with your columns <tr><td>...</td><td>...</td></tr>
                    </table>
                </form>
            </td>
        </tr>
    }
}

and you will have one form for each record.


Viewing all articles
Browse latest Browse all 29

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>