can we create above type like datagridview in C#.net Windows Form Application.If not possible provide suitable solution for that
Can we create the attached model like datagridview in Win Forms
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Jayraj ChhayaRank #304 · 8.2K reputationPosted Jun 19, 2024, 5:14 AM EDT
Yes, it is possible to create a custom data grid view in a C#.NET Windows Form Application that resembles the attached model. One approach is to subclass the DataGridView control and customize its appearance and behavior to match the desired design. By overriding the default rendering methods and implementing custom painting logic, you can achieve a unique look for your data grid view.
using System.Windows.Forms; public class CustomDataGridView : DataGridView { protected override void OnPaint(PaintEventArgs e) { // Implement custom painting logic here base.OnPaint(e); } }Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jun 20, 2024, 3:25 AM EDT
check below article
https://www.c-sharpcorner.com/UploadFile/asmabegam/creating-dynamic-datagridview-using-helper-class/
achieving on Paint event also possible