Using scalar query as data source for winform chart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ravi kumar00387
    New Member
    • Aug 2020
    • 1

    Using scalar query as data source for winform chart

    In my winforms app i have created a dataset from Trial.Accdb database & in it i have added a Scalarquery() which return count of 1 particular column , now i want to use this query as data-source to show as a chart in my winform .Please help me how to achieve this

    and here is form load event code
    Code:
    private void FrmDashBoard_Load(object sender, EventArgs e)
            {
                
                this.mSdiesTableAdapter1.Fill(this.trialDataSet2.MSdies.);
                
    
    
                this.reportViewer1.RefreshReport();
            }
    Attached Files
Working...