+ 2
How to connect sql and csharp?
how can i display sql database table(the whole table)using csharp on a data grid and can anyone explain how the sql connection works? tnx:)
3 Answers
+ 3
ok tnx i will check them out.
0
There is a help from Mictosoft.
But I think it is hard to understand
https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/how-to-bind-data-to-the-windows-forms-datagridview-control
But this is an easier solution:
https://stackoverflow.com/questions/35635366/bind-datagridview-to-a-table-in-database
Check it out