Datagrids At Runtime

Results 1 to 2 of 2

Thread: Datagrids At Runtime

  1. #1
    Join Date
    Dec 1969

    Default Datagrids At Runtime

    Is there anyway to hide/make invisible a coloumn in a datagrid that is filled and binded at run time?

  2. #2
    Join Date
    Dec 1969

    Default RE: Datagrids At Runtime

    If I understand your question correctly, then this is what I do.<BR><BR>In the Page_Load write this<BR><BR> datagrid_name.Columns(column_number).Visible = False<BR><BR>For example<BR><BR> dgEvents.Columns(1).Visible = False<BR><BR>which means Hide the 2nd Column of Datagrid dgEvents.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts