Home All Groups Group Topic Archive Search About

Getting rid of the plus sign in the datagrid

Author
12 Jan 2006 3:12 PM
Robert Bravery
Hi all
I have a dataset with three tables. On my form I have two grids. Both grids
have the default plus sign on the side of the grid. I have set up my tables
and columns collection the way I want, but I don't need the plus sign to
open any child records. How can i get rid of this.
As I am ne to VB and .net, I tried every thing I can think of in the VS IDE

Thanks
Robert

Author
12 Jan 2006 10:27 PM
tomb
Robert Bravery wrote:

>Hi all
>I have a dataset with three tables. On my form I have two grids. Both grids
>have the default plus sign on the side of the grid. I have set up my tables
>and columns collection the way I want, but I don't need the plus sign to
>open any child records. How can i get rid of this.
>As I am ne to VB and .net, I tried every thing I can think of in the VS IDE
>
>Thanks
>Robert
>
>

>
In the properties set allownavigation = false.

Tom
Author
12 Jan 2006 10:29 PM
Bart Mermuys
Hi,

"Robert Bravery" <m*@u.com> wrote in message
news:OvzJkk4FGHA.4036@TK2MSFTNGP12.phx.gbl...
> Hi all
> I have a dataset with three tables. On my form I have two grids. Both
> grids
> have the default plus sign on the side of the grid. I have set up my
> tables
> and columns collection the way I want, but I don't need the plus sign to
> open any child records. How can i get rid of this.
> As I am ne to VB and .net, I tried every thing I can think of in the VS
> IDE

DataGrid.AllowNavigation = False

HTH,
Greetings


Show quoteHide quote
>
> Thanks
> Robert
>
>