Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crystal reports anybody??

Status
Not open for further replies.

serpico622

Programmer
Oct 1, 2003
10
US
hi,
i am not able to dispaly the data in dataset in crystal report why??
no errors no bugs nothing,
example: Datasource ds;

try
{
myConnection.Open();

adapter.SelectCommand = myCommand;

adapter.Fill(ds,"test"); //execute here

myConnection.Close();

ec.SetDataSource(ds);


/*
OracleDataReader myReader;
myReader = myCommand.ExecuteReader();
// Always call Read before accessing data.
ec.SetDataSource(myReader);
myReader.Close();
*/
airreport.ReportSource=ec;
airlist.DataSource = ds; // binding a dataset to grid
airlist.DataTextField ="AIR_AIRPORT_CODE";
airlist.DataValueField ="AIR_AIRPORT_CODE";

airreport.DataBind();
airlist.DataBind();
}
catch(Exception e1)
{
myConnection.Close();
Response.Write("exception ="+e1);
}



as you can see the mebubox is getitng the data and it works fine .,..,but nothing on report(An empty REport)
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top