Solved

Display grid lines at runtime?

Posted on 2007-12-03
1
312 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 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Header of docx file 17 54
Wpf develop 5 29
.net VBA word safemode 1 23
DataGridview Currency Formating? 22 37
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now