Good day! There are two datatable and data_list . datatable takes data from the sql query. And the data_list from the datatable table. If I add one more line to datatable , how can I make only new data from datatable? data_list added to datatable?
using (SqlDataAdapter adapter = new SqlDataAdapter(query, cn)) { using (DataTable dt = new DataTable()) { adapter.Fill(dt); if (DataList == null) { adapter.Fill(DataList); } else { }