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

  • Home
  • SEARCH
  • 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 801687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:28:50+00:00 2026-05-14T23:28:50+00:00

Problem in crystal report After excecuting the bellow code,In my report page it ask

  • 0

Problem in crystal report
After excecuting the bellow code,In my report page it ask like
“The report you requested requires further information”
server=
user=
password=
databse=

protected void Page_Load(object sender, EventArgs e)
{
    MySqlConnection sqlcom = new MySqlConnection("server=localhost;userid=root;password=root;database=hemaepdb;");
    MySqlCommand cmd = new MySqlCommand("SP_ViewBillDetails", sqlcom);
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.Parameters.Add("p_Invoice_Id", MySqlDbType.Int16).Value = 1;
    cmd.Parameters.Add("p_Org_id", MySqlDbType.Int16).Value = 1;
    MySqlDataAdapter adapter = new MySqlDataAdapter(cmd);
    DataSet dsTest = new DataSet();
    sqlcom.Open();
    adapter.Fill(dsTest, "Table");
    sqlcom.Close();
    CrystalReportViewer1.Visible = true;
    ReportDocument myRpt = new ReportDocument();
    myRpt.Load(Server.MapPath("CrystalReport.rpt"));
    myRpt.SetDatabaseLogon("root", "root", "localhost", "hemaepdb");
    myRpt.SetDataSource(dsTest);
    CrystalReportViewer1.ReportSource = myRpt;
}
  • 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-05-14T23:28:50+00:00Added an answer on May 14, 2026 at 11:28 pm

    Use a DataTable instead of a DataSet:

    myRpt.SetDataSource(dsTest.Tables[0]);
    

    And add the following to the end of the method:

    CrystalReportViewer1.DisplayGroupTree = false;
    CrystalReportViewer1.DataBind();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After some googling-fu on making subscript text in crystal report, I found this ,
I have a Crystal 2008 report hitting a SQL Server 2008 database using a
Problem: As you may know report wizards and reports inside crystal reports have a
I'm running across a problem trying to print a crystal report in java where
In Segate Crystal Report how to add the summary ie. @ last page I
WE developed system integrated with crystal Reports, with Crystal Report viewer on page. but
Problem Language: C# 2.0 or later I would like to register context handlers to
Using VB 6 and Crystal Report 9 I want to display an output in
I have a Crystal Report which is viewed via a CrystalReportViewer control on an
I need to create a crystal report that shows the address label of the

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.