0

Hello All,

I would like to programatically set the Column borders for a datagrid based on the column Index.

So I would like Columns(3) for exampe, to have a border but not Columns(1) or Columns(2).

The only thing remotely like this I can find is the datagridview grid setting. But this impacts the whole grid not just the parts I want.

Many Thanks

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by spinnaret
0

Actually I've done some work with datagrids and they can drive you nuts sometimes. As far as I know, the only way to do this is for you to set the border properties for the columns from the HTML side. You will probably not have each individual column listed already you will have to add it and I believe you have to add them all and not just the ones you want changed.

0

Actually I've done some work with datagrids and they can drive you nuts sometimes. As far as I know, the only way to do this is for you to set the border properties for the columns from the HTML side. You will probably not have each individual column listed already you will have to add it and I believe you have to add them all and not just the ones you want changed.

My apologies I actually meant the datagridview form object.
Thanks for taking the time to help!:)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.