Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9259229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:36:18+00:00 2026-06-18T12:36:18+00:00

This is my VB.NET (2012) code to show report based on Combobox (cmbCustomer) selection,

  • 0

This is my VB.NET (2012) code to show report based on Combobox (cmbCustomer) selection, I want to print that parameter cmbCustomer.text on report.

Private Sub btnShow_Click(sender As Object, e As EventArgs) Handles btnShow.Click
        Me.rpt_customerByDateTableAdapter.Fill(Me.customerByDateDataSet.rpt_customerByDate,
        cmbCustomer.Text)
        Me.ReportViewer1.RefreshReport()
End Sub
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:36:19+00:00Added an answer on June 18, 2026 at 12:36 pm

    Here’s how, assuming you have already created a parameter in your rldc

    Dim customer As String = cmbCustomer.text
    Dim CustomerParam As New ReportParameter("yourCustomerParameter", customer)
    
    Dim reportParameters() As ReportParameter = {CustomerParam}
    
    Me.DataTable1TableAdapter.Fill(Me.customerByDateDataSet.rpt_customerByDate,
            cmbCustomer.Text)
    
    Me.ReportViewer1.LocalReport.SetParameters(reportParameters)
    Me.ReportViewer1.RefreshReport()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So this is the code: <script type=text/javascript charset=UTF-8> function loadScript(http://www.qppstudio.net/individualdays/noscroll/2012-08-15.js) { document.write('<script type=text/javascript charset=UTF-8
This is .NET 4.0/C#. I have a class that inherits from an interface: public
In this asp.net page, there is a link that leads to another page in
In this VB.NET code: Dim o as SomeClass Try o = new SomeClass 'call
So I have this asp.net web application that I renamed. I changed the assembly
I have this vb.net code ( but I think meaning code is equivalent for
So I have this ASP.Net 2.0 website that uses functions contained within a JS
This is the code I am working with currently: http://jsfiddle.net/HMsKa/39/ HTML <!DOCTYPE HTML PUBLIC
I am using ASP.NET and C#.This is my code. private const string ASCENDING =
im following this tutorial : http://untame.net/2012/08/twitter-bootstrap-build-a-stunning-two-column-blog/ and my carousel works fine (scrolling works fine,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.