Im new in C# and facing a problem. I have a link label which shows the DataGridview on click. I would like to do this thing in classes. Can anybody tell me that how can I do it in a seperate class?
ahmed.talha.16 -3 Newbie Poster
Recommended Answers
Jump to PostIf you simply want to show and hide the DataGridView (DGV) when a particular label is clicked you only need check if the DGV is visible or not and then do
DataGridView.Visible = true;
(or = false if you want to hide the DGV), within the predefined clicked method for …
Jump to PostJust creating a DataGridView will not do very much.
You have to initialize several things.
Here is a snippet to put you on track.
All 6 Replies
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
ChrisHunter 152 Posting Whiz in Training Featured Poster
ahmed.talha.16 -3 Newbie Poster
ahmed.talha.16 -3 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
ahmed.talha.16 -3 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.