datasource
hi im using vb.net and crystal report for reporting with this code i report in program please change this code to report in fast report
thnks
thnks
Dim Cmd1 As SqlDataAdapter = New SqlDataAdapter("Select * from rest where (g2a =" & 2 & ")or (g2a=" & 0 & ") and (lname=N'" & txtlname.Text.Trim & "')", cnn)
            Cmd1.Fill(ds, "rest_tbl") : frmposi.dgv.DataSource = ds.Tables("rest_tbl")
            frmposi.Show()
Comments
1) Call the designer to create the report, then save the report to a file:
2) run the existing report:
i create a from with the name frmtest and use a report in this form and design it i dont want to design report again
i want to full my feild with data that include in datasource my datasource must full with this code
thanks
im using report option in toolbox and add it to form then going to design report and in menu data i add a data source after that i design my report then i want filter report with this code when i used crystal report doing this process to report my data thanks for you attention