Results 1 to 5 of 5

Thread: I want to make a empty row between the items in DataGridView

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2004
    Location
    syria
    Posts
    854

    I want to make a empty row between the items in DataGridView

    I used this code to show the data in DataGridView and it show me as it show in the pic in Table1. I want to make the data shows each collection same items alone. Asit show in pic in Table2. with empty row between them.
    vb Code:
    1. Dim sql As String = " SELECT B,C,D,E,F,G FROM Table1 ORDER BY B   "
    2.         conn.Open()
    3.         Dim dp As New OleDbDataAdapter(sql, conn)
    4.         Dim Table1 As New DataTable
    5.         dp.Fill(Table1)
    6.         Form1.DataGridView1.DataSource = Table1
    7.         conn.Close()
    Attached Images Attached Images  

Posting Permissions

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



Click Here to Expand Forum to Full Width