Please Help me I am trying every possible ways to print data from datasets to crystal reports but i am not successive. i am using C# in VS10, sqlexpress 08 and i have database in attachdb format can anyone eleborote the steps from starting please help
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Add a dataset object (.xsd) in visual studio and fill it with one or many datatables containing the SAME field names you got on your DataSet ds = new DataSet(); Then go to your .rpt file: database fields -> database expert - > project data -> ADO.Net DataSets, then select the dataset you just created and design the report as you want. Use the report as usual. myReport.SetDataSource(ds);
kianu rievesPosted Sep 26, 2012, 1:12 AM
Then go to your .rpt file: database fields -> database expert - > project data -> ADO.Net DataSets, then select the dataset you just created and design the report as you want.
Use the report as usual.
myReport.SetDataSource(ds);
http://www.dapfor.com/en/net-suite/net-grid/tutorial/performance-practical-recommendations
aditya jaPosted Oct 7, 2012, 5:04 AM