I wrote multiple times different apps that have following requirement.
CRUD Operations via DataGrid control...
Everytime I start new prject I write new code for same requirement over and over - what is the best way to make custom DataGrid control which is reusable and generic. I'm a junior developer and I'm having hard time with making reusable code or blocks of code. Especially when it comes to some kind of generic DataGrid control...
Something like just passing DataTable and getting all of the CRUD functionality via generic methods. I usually used RowEditTemplate type forms for Add or Edit.
Is this realistic? Is there a name/method for doing this?
I'm using MSSQL + WinForms + EntityFramework
Should I just get to coding and generate every field via code?