Datatable to Datasetxsd?
I'm having some problems with re开发者_开发技巧porting and I thought you could help me:
I have created a dataset (mydata.xsd). I also have designed a Report.rdlc, and I did the same with a frame with a ReportViewe inside, wich use mydata.xsd as a source data.
I have designed mydata.xsd to have 2 columns (user, time). How would you fill this dataset? The reporting tool get the data from this "xsd" file, but I never fill it anywhere. I fill another dataset I have as a private member of my class, and that's all.
Thanks in advance.
Pablo Reyes
What dataset are you filling and from what dataset are you want to fetch records ? If u have two columns say user and time then create a dataset with wizard , it will generate the queries and tables. Now set this dataset as the datasource of report. From Field Explore drag drop the column to report.
精彩评论