Thanks for helping me. Now I can display the data in the crystal report file using the XSD file. There are fields in the xsd file that exactly match the names specified in the select query, which brings the values ββfrom the database. The following is the part of the xsd file that contains the field names in the xs: tag.
You must also specify the data types of these fields. The XSD file name can be saved as desired. The names "Summary_Report_on_portal" and "Summary_Updt" do not match any data set names in the code or request fields. It can be stored at the request of the user.
This XSD file must be transferred to the crystal report using the database expert in the field explorer window. The name "Summary_Updt" appears in the new connections that can be added to the Crystal report. The fields mentioned in the xs: element field are visible to the user to drag him into the crystal report. When a user mentions a data source in a crystal report (dataset), the fields in the dataset are mapped to the XSD field values. CODE: objBL.Rpt.SetDataSource (objBL.ds_shipment_info.Tables [0]);
Hope this is detailed enough. Let me know if anyone wants more information.
source share