实现思路,
采用的pull模式下的方法作的,
通过选择作者编号,来在报表中显示所选作者的所有资料,
在一个页面选择作者,在另一个页面显示报表
双击显示按钮跳到下一个页面:
Response.Redirect("weekplancrystalrpt.aspx?duty_person=Ddl_person.SelectedItem");
下一个页面的page_load中的代码:string connstr = "Server=zxp;DataBase=pubs;UID=sa;PWD=10201020"; 
   CrystalReport1 rpt= new CrystalReport1(); 
  DataSet1 ds = new DataSet1(); 
  SqlConnection conn = new SqlConnection(connstr); 
    string str= "select * from authors where au_id = @Duty_person";
    SqlCommand cmd=new SqlCommand(str,conn);
cmd.Parameters.Add("@Duty_person",SqlDbType.VarChar,20);
    string person=Request.QueryString["duty_person"]; cmd.Parameters["@Duty_person"].Value=person;

  SqlDataAdapter da = new SqlDataAdapter(cmd); 
  da.Fill(ds); 
  rpt.SetDataSource(ds); 
  CrystalReportViewer1.ReportSource=rpt;
CrystalReportViewer1.DataBind();
出现的问题,
运行没有错误,但是报表中没有数据显示出来
请各位高手告知原因