asp.net mvc 4 - layout of Namevalue collection retrieval in mvc view as html table incorrect -


While referring to the link I tried to apply a dynamic table. But the layout / structure of the table is incorrect. The value, which should be in the form of different rows, is shown in a row in which the comma is created in the table. Check the attached screen shot! Enter image details here

Really should look like this:

NAME
crocin
maxgalin
abc
bdf The code in the view is like this:

   @model [key] & lt; / Td> } & Lt; / Tr & gt; & Lt; / Tbody & gt; & Lt; / Table & gt;  

Whether or not the NameValue collection can pass more values, so that the dynamically created table columns can be 1 or more. Please help .. I want all the names to be coming in columns as separate rows. TIA


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -