I'm new to Visual Studio and in trying to follow a tutorial I can't seem to find the DataGridView on the ToolBox for Windows Forms. I understand I can go to "Choose Toolbox Items" to select what I want but even then when I try to drag and drop the DataGridView it doesn't allow me to drop it.
I don't understand it because in every tutorial I watch this seems to be a pretty straightforward operation. If this is not possible, or if this is not the control I should be using, what is the other option to display a datatable on windows forms?
Any help is appreciated.
Here is the fix:
using System.Windows.Forms;
. From.Net Framework only.OR
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.