Search code examples
winformsvisual-studio-2010report-viewer2010.net-framework-version

Report Viewer displaying a value in a textbox


How to make 1 value inside the database to be displayed in a textbox?

I make a select of an ID and then I need the name to be shown.


Solution

  • Assuming you already have configured the DataSet and DataSource,just drag the value/field from the DataSet (listed in the Report Data) and drop it on your TextBox,it'll automatically change the Expression in the TextBox («Expr»).