'User datagridview on user control

I want to add a DataGridView to an UserControl. I drag and drop the datagridview from data source into form and work normally and show table data but when I do that on user control it doesn't work and show empty data



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source