Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. DataGridView in VB.NET.The empty row in the end!!!

DataGridView in VB.NET.The empty row in the end!!!

Scheduled Pinned Locked Moved Visual Basic
questioncsharpcsshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tannghia
    wrote on last edited by
    #1

    Please help me to answer the following question! Thanks! 1.In VB.NET, when datasource of datagridview = datatable(Datatable contains data).On the datagridview display a grid of data ,the end row is empty. What type of value of the cells on this row in VB.NET?How to check ? 2.Can I make the end row disappear?

    A 1 Reply Last reply
    0
    • T tannghia

      Please help me to answer the following question! Thanks! 1.In VB.NET, when datasource of datagridview = datatable(Datatable contains data).On the datagridview display a grid of data ,the end row is empty. What type of value of the cells on this row in VB.NET?How to check ? 2.Can I make the end row disappear?

      A Offline
      A Offline
      Andy_L_J
      wrote on last edited by
      #2

      2. Set: DataGridView1.AllowUSerToAddRows = False and DataGridView1.AllowUserToDeleteRows = False

      I don't speak Idiot - please talk slowly and clearly 'This space for rent' Driven to the arms of Heineken by the wife

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups