novaaa
novaaa
CC#
Created by novaaa on 2/11/2023 in #help
❔ VISUAL STUDIO C# DATABASE AND LISTBOX
Use foreach dt row
5 replies
CC#
Created by novaaa on 2/11/2023 in #help
❔ VISUAL STUDIO C# DATABASE AND LISTBOX
Figured it out
5 replies
CC#
Created by novaaa on 2/11/2023 in #help
❔ VISUAL STUDIO C# DATABASE AND LISTBOX
When dealing with adding to DataGridView i used the following
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
dgv.DataSource = dt;
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
dgv.DataSource = dt;
5 replies