Click here to Skip to main content
15,919,613 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm trying to display data for two types of procedures. One procedure displays all the centers when clicked on a button. the other displays a specific center based on the value member. In this case the value member is the project ID.

The problem occurs when I click on the button to retrieve data for all the centers. The data does not display correctly. And, most of it isn't even being shown on the page.Is there a way to group all the data so that it can be displayed properly.
I'm using Visual Studio 2012 and C#.The data is being displayed on a report viewer.


Here's some sample code from the form.

C#
private void btn_proj_acct_Click(object sender, EventArgs e)
      {
          this.Rpt_proj_acct.RefreshReport();
          this.Rpt_proj_acct.Clear();
          projectRpts.EnforceConstraints = false;
          projectRpts.DT_ProjAcct.Clear();

          DataSet Ds = new DataSet();
          Ds = ESCIS_DL.GetAllDataSet_ProjectAccountingDS();
          projectRpts.DT_ProjAcct.Merge(Ds.Tables[0]);
          this.Rpt_proj_acct.RefreshReport();
          this.Rpt_proj_acct.Visible = true;
      }
Posted
Updated 30-Sep-13 3:35am
v2

1 solution

i think for that you need to create two different dataset cocntaing all the relative data and bind them together to show in the report
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900