Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009

    Question Unanswered: Resizing Row in Datagridview in Vb.Net

    See if someone could shed some light on the following.
    I have a Datgridview in Vb.Nt which is bounded to a datasource programmatically.
    I have 5 columns in the Datagridview.
    my second column's size is 420 I have set it programmaically.
    But the Data is the column varies it could be more than 420 i.e upto 840 or less than 420.When the data goes more than 420 I want to break it any display it on next line but in the same row.Is it possible to do this?

  2. #2
    Join Date
    Mar 2003
    The Bottom of The Barrel
    Provided Answers: 1
    Set WrapMode to true in the DefaultCellStyle of your target DataGridView.
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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