?
Solved

Display grid lines at runtime?

Posted on 2007-12-03
1
Medium Priority
?
321 Views
Last Modified: 2012-06-27
Hi,

I want to show grid lines at runtime in my windows form.  Is this possible? I can see examples of this in windows designer but not at runtime.

Thanks.
0
Comment
Question by:Confusioner
1 Comment
 
LVL 10

Accepted Solution

by:
Alpesh Patel earned 1500 total points
ID: 20396006
what exectly u want to do
u want the user to ineract with UI and change the GridView with Grid Lines......
or u just want to show it statically.

u can do it with the

grd.DisplayLayout.GridLinesDefault = Both | None | Horizontal | Vertical

you can select any of them and u can change the view of your grid

thanx
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question