c# use datatable in other form datagridview
问题 Hi Ive searched many topics, also here in stackoverflow, however none solved my problem This is my main form where I operate with my database and display items in datagridview public partial class Form1 : Form { DatabaseConnection objConnect; string conString; private static DataTable table; DataSet dataSet; public Form1() { InitializeComponent(); CreateConnection(); MakeDataTable(); } public DataTable table { get { return table; } } private void MakeDataTable() { table = new DataTable();