Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Recommended method to develop DataGridView. Using properties or code?

$
0
0

Hello.

I'm developing a C# application with a DataGridView using Visual Studio Community 2015,  .NET Framework 4.6.00081 on a Dell laptop.

When I read articles and walkthroughs about programming the DataGridView, they always seem to show the C# code in the program to accomplish the task.  I know a lot of the setup for the DataGridView can be accomplished by using the Forms Designer properties.

Is there a recommended way to program the DataGridView or do programmers use both methods?

Also, should the gridview control be created in code or is it better to create it in the form designer?

Any help would be gratefully appreciated.

Thanks,
Tony


Stop The World, I want To Get Off! ........... Life Isn't About Waiting For The Storm To Pass ... It's About Learning To Dance In The Rain.



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>