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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. DataGrid New Row

DataGrid New Row

Scheduled Pinned Locked Moved Visual Basic
question
3 Posts 3 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.
  • M Offline
    M Offline
    Madni Abbasi
    wrote on last edited by
    #1

    Hello' I am populating dataGrid based on DataSet's table that is editable but I wanted to edit original data not to enter new row. how can I do this ? any openion ?

    J L 2 Replies Last reply
    0
    • M Madni Abbasi

      Hello' I am populating dataGrid based on DataSet's table that is editable but I wanted to edit original data not to enter new row. how can I do this ? any openion ?

      J Offline
      J Offline
      Jim Matthews
      wrote on last edited by
      #2

      create a dataview based on your current datasource, set it's "AllowNew" property to false and bind the view to the datagrid.


      -jim

      1 Reply Last reply
      0
      • M Madni Abbasi

        Hello' I am populating dataGrid based on DataSet's table that is editable but I wanted to edit original data not to enter new row. how can I do this ? any openion ?

        L Offline
        L Offline
        lata07mahi
        wrote on last edited by
        #3

        Can you elaborate more on the problem? What i understand is that you dont want to allow user to add new row to datagrid? Lata

        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