Click here to Skip to main content
15,306,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to display records in webgrid.

i have some complex in that.

i have noted the problem please give the valuable suggestion.

here i attached one image that will give you complex for display records in webgrid.


Situation 1:
The values outlined by the red colour in Table 1 and Table 2 will be displayed as a header of grid column.
Here in Table 2, The grid column values(The values comes under 'Field Label' column) will be added dynamically at the runtime.

Situation 2:
The values for grid column will be fetched from Table 3 and Table 4. Those are marked by blue colour.
If the input tool type is RadioButton, CheckBox and ComboBox, Their value will be fetched from Table 5, which one is marked by Green colour.[^]
Updated 5-Aug-14 20:19pm
Manoj B. Kalla 11-Aug-14 8:12am
Dear Ananth,

As I under stand your question, You can join two table with condition, Create a fields for dynamic style purposes.

Put your table1 image and table2 image and your MVC code . So I can fruther give you an ideal.

Thank You.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900