Solved

Display grid lines at runtime?

Posted on 2007-12-03
1
314 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

830 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