title: Asp.net mvc dyanmic checkboxlist
body: <p>I have a SQL query returning a list which i want to be displayed as check-box list.Check-box list is a part of search form which on submit is used back in sql query so need it to maintain the check-box checked state also.</p>
  
  <p>Currently I am putting the list in a viewbag and rendering them , but its becoming too messy to maintain.</p>