Datasets and Crystal Reports

  • Thread starter Thread starter swainj1
  • Start date Start date
S

swainj1

I am a newbie programmer. I am working on a small program that fills
a dataset based on one field in the table I am working with. I am
able to fill the dataset, but not sure how to call my Crystal Reports
form that I have already made in the same project. On my main form I
have the following to fill the dataset.

private void btnGetBid_Click(object sender, System.EventArgs e)
{
oleDbDataAdapter1.SelectCommand.Parameters["ReferenceNumber"].Value
= txBidNumber.Text;
dataSet11.Clear();
oleDbDataAdapter1.Fill(dataSet11);
}

When I click the GetBid button I want to fill the dataset and open my
form with the Crystal Reports viewer.

I hope I have left enough information. Thank you in advance.
 
I am a newbie programmer. I am working on a small program that fills
a dataset based on one field in the table I am working with. I am
able to fill the dataset, but not sure how to call my Crystal Reports
form that I have already made in the same project. On my main form I
have the following to fill the dataset.
When I click the GetBid button I want to fill the dataset and open my
form with the Crystal Reports viewer.

I hope I have left enough information. Thank you in advance.

I am also looking for an answer to this question. Did you get it to
work? Maybe someone can help me... I need to pass the data in the
dataset in some or other way to the Crystal report. I am not sure how
this is done. Any help will be greatly appreciated.

Thanks, Veronika
 
Back
Top