Can some 1 help me with the code for creating a DGV on clicking a button from a C# windows FOrm and not a web form??

I might help if you would follow these forum rules, as "We'll help you get started and exchange algorithm ideas, but only if you show that you're willing to put in effort as well."

So, tell me, please what you've already tried, what you can't understand or what troubles are you facing while coding this task?

commented: Good Post! +1

As an additional note, it doesn't hurt to read the forums a bit to see if your question was already asked in a different way and is possibly already being addressed by other users :)

Hope this helps put you in the right direction. Please mark solved if this resolves your issue.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.