Datagrid gridline

T

Tracey

Hi, there

My application needs a datagrid with no gridline
displayed.If the datagrid is dragged into a winform, we
can easily set the gridlinecolor to be the same as
datagrid's background color or set gridlinestyle to be
none. However, things are different when I create a
datagrid at run time though I have set its gridlinestyle
to be none.The gridline are still there.

Can some one tell me what's wrong with that?
Thanks!
 
K

Ken Tucker

Tracey,

If you are adding a tablestyle to the grid try setting the
tablestyles gridlinestyle instead.

Ken
 
T

Tracey

Exactly.
It works.
thanks a lot!
-----Original Message-----
Tracey,

If you are adding a tablestyle to the grid try setting the
tablestyles gridlinestyle instead.

Ken
----------------



.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top