title: How to publish SQL Query result into labels
body: <p>I'm trying to develop a Web Application that can print reports from an SQL Server database using some parameters that the user need to enter.</p>
  
  <p>I'm using Visual Studio Express 2012 for Web. </p>
  
  <p>I used the solution in the link below to do the query (to take the parameter from the textbox)
  <a href="https://stackoverflow.com/questions/3569565/visual-web-developer-sql-query-via-button">Visual Web Developer SQL Query via Button</a></p>
  
  <p>Please advise what action code (Visual Basic) should be programmed on the button to publish the results on a printable form. (Not on the same page)</p>
  
  <p>Application usage demo:
  (1) The user logs in
  (2) The user chooses the form he wants to print
  (3) The user enters the parameter (in a textbox) then clicks on a (button) to get the required record
  (4) The user can preview and print the published form</p>
  
  <p>Appreciate your kind assistance regarding this.
  Any recommendations about the programming design of the application are so welcomed.</p>
  
  <p>Thanks in advance.</p>