borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Clear textboxes, Listboxes or comboboxes)Next Topic (Declare an istance of object) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : DataGrid
Poster Message
dcostelloe
Level: VB Guru

Registered: 11-06-2002
Posts: 74

icon DataGrid

Most sought after Question.

How to hide a datagrid column:

A:
With dgGrid1
     .DataSource = dsDataSet
            If blnShow Then
                .Columns(0).Visible = True
            Else
                .Columns(0).Visible = False
            End If
            .DataBind()
End With

:-)


____________________________
Life is but a merry go round
around and around :-)

Visit us today:
http://www.welford-costelloe.com

02-10-2002 at 08:20 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB.Net : DataGrid
Previous Topic (Clear textboxes, Listboxes or comboboxes)Next Topic (Declare an istance of object) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder