how to pass query in crystal report at runtime

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajeshkumard
    New Member
    • Mar 2008
    • 1

    how to pass query in crystal report at runtime

    hi friends i want to know how i can pass the query in crystal report at run time

    my code is


    sqlconnection con=new sqlconnection(" ");
    con.open();
    sqlcommand cmd=new sqlcommand("sel ect*from test",con );
    sqldataadapter sda=new sqldataadapter( cmd);
    dataset ds=new dataset'
    sda.fill(ds);

    after that what should i do
Working...