title: Print RDLC using Dataset without Database in C#
body: <p>I have an app that will print every data that is inside of the textboxes. So it means that I don't have database</p>
  
  <p>I use a RDLC to fulfill the printing process. I set up parameters per textbox to my report and add this code so that the textboxes' text will be transferred to the report.</p>
  
  <pre><code>  ReportParameter textbox1param = new ReportParameter("textbox1", textbox1.Text);
    printform.reportViewer1.LocalReport.SetParameters(textbox1param);
  </code></pre>
  
  <p>My problem though is when I do this way, it makes my system crash while printing because I repeat this code many times just to transfer every textboxes' text in my form. (I repeat the code 10 times only changing the textbox's name and the parameter name.)</p>
  
  <p>I see that there is another method which is using dataset. My problem is I don't use a database because I just print what it is in the screen that the user inputted. So I can't create a query for it. Is there any other way for me to solve this dilemma? Thank you guys!</p>