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. How to perform direct edit,add ,update and delete operations on datagridview in vb.net.

How to perform direct edit,add ,update and delete operations on datagridview in vb.net.

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasehelptutorial
3 Posts 2 Posters 1 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.
  • H Offline
    H Offline
    hbk_leo
    wrote on last edited by
    #1

    HI ALL CAN ANY ONE HELP ME WITH THIS.... I HAVE A DATAGRIDVIEW IN MY WINDOWS APPLICATION AND I POPULATE IT WITH DATA PROGRAMATICALLY. BUT NOW I WANT TO PERFORM THE FOLLOWING OPERATIONS DIRECTLY ON MY DATAGRIDVIEW... 1. ADDING A NEW ROW TO DATAGRIDVIEW. 2. EDITING A ROW . 3. UPDATING THE EDITED ROW TO DATABASE. 4. DELETING A PARTICULAR ROW FROM THE DATAGRIDIEW. ALL THESE OPERATIONS SHOULD REFLECT DIRECTLY IN THE DATABASE. IF SOMEONE CAN HELP IT WILL BE APPRECIABLE. THANKS.

    V 1 Reply Last reply
    0
    • H hbk_leo

      HI ALL CAN ANY ONE HELP ME WITH THIS.... I HAVE A DATAGRIDVIEW IN MY WINDOWS APPLICATION AND I POPULATE IT WITH DATA PROGRAMATICALLY. BUT NOW I WANT TO PERFORM THE FOLLOWING OPERATIONS DIRECTLY ON MY DATAGRIDVIEW... 1. ADDING A NEW ROW TO DATAGRIDVIEW. 2. EDITING A ROW . 3. UPDATING THE EDITED ROW TO DATABASE. 4. DELETING A PARTICULAR ROW FROM THE DATAGRIDIEW. ALL THESE OPERATIONS SHOULD REFLECT DIRECTLY IN THE DATABASE. IF SOMEONE CAN HELP IT WILL BE APPRECIABLE. THANKS.

      V Offline
      V Offline
      venu_dil
      wrote on last edited by
      #2

      In visual studio you can change the settings of grid view control by checking the edit, new check boxes. First do that and find how the coding got changed in code behind. I think based on that you can make the changes for your project. Even I am new to VB.net, but I think it helps you.

      dil

      H 1 Reply Last reply
      0
      • V venu_dil

        In visual studio you can change the settings of grid view control by checking the edit, new check boxes. First do that and find how the coding got changed in code behind. I think based on that you can make the changes for your project. Even I am new to VB.net, but I think it helps you.

        dil

        H Offline
        H Offline
        hbk_leo
        wrote on last edited by
        #3

        Hi Thanks for ur coments i'll try it and let u know.:)

        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