1 Replies - 2059 Views - Last Post: 12 December 2012 - 11:43 AM Rate Topic: -----

#1 GeneralCrackers  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 05-October 12

Displaying items from a list view in a reportviewer

Posted 12 December 2012 - 11:09 AM

Hi, I am currently working on functionality in a program and have hit a brick wall. On my form I have two combo boxes and a text box; the combo boxes are linked and the data that populates them is from a SQL database (one is an item number and the other is the name of the item) and the user adds input in the text box. When the user clicks the add button a list view is populated with the record selected and the input. The problem I am having is that I don't know how to take whatever items the user clicked the checkbox next to and display those items in a report in a reportviewer. I am using Visual Studio 2010.

Any help would be appreciated; Google searching only led to how-to's on adding a listview inside a reportviewer.

Is This A Good Question/Topic? 0
  • +

Replies To: Displaying items from a list view in a reportviewer

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5316
  • View blog
  • Posts: 11,373
  • Joined: 02-June 10

Re: Displaying items from a list view in a reportviewer

Posted 12 December 2012 - 11:43 AM

Did you try looping through the collection to see which items had the .Checked property set to true?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1