One, install and download
http://www.rubylong.cn/Download.htm
Two, add a reference
Three, add class
Fourth, make a print template
1. New report section
Add detail grid
New column → set as free grid → resize
Report → Set detailed data source and detailed field collection
Set display format
Set parameter collection
2. C# processing
Cut the data source connection string to the configuration file
Print preview and print
Attach another reference
https://www.cnblogs.com/wuhuacong/p/10523734.html