Quantcast
Viewing all articles
Browse latest Browse all 12583

how to print to crystal-report sorted datagridview

hi

i have DataGridView that hold my data.

how to print to crystal-report **exactly** what i see in the DataGridView ?

i print to crystal-report like this:

    Cry_1 PP = new Cry_1();
    PP.SetDataSource(MyParam.dsPrint);
    crystalReportViewer1.ReportSource = PP;
    crystalReportViewer1.Zoom(100);

today i fill the dataset  `MyParam.dsPrint` by sql query, but if i sort the DataGridView by

pressing the header it does not work with the sort.

Viewing all articles
Browse latest Browse all 12583

Trending Articles