title: Can a C# UserControl be saved in a database field (not the data - the control itself)
body: <p>We populate the front end-content of our website from a SQL database. We have a need to include either a placeholder or a usercontrol within the raw content that is returned from the database table content field. </p>
  
  <p>For example:</p>
  
  <p>This is page content, page content, page content <code>'usercontrol:myControl runat="server" id="123" variable1="abc"'</code> more page content, more content, etc.</p>
  
  <p>Note that we have the proper format for the usercontrol, the above code is abbreviated so it would post correctly.</p>
  
  <p>The reference to the usercontrol location is already on the page, we just need the embedded version for placement and content specific variables. If we put the usercontrol directly on the page, it works but if we pull the same control from the database it doesn't resolve - it stays in its text form. </p>
  
  <p>Is it possible to include a <code>"runat=server"</code> control that will properly resolve within the results returned from the database? In searching for an answer we found many links to pulling data into a usercontrol but not actually embedding the usercontrol within the data.</p>