locked
edit,update data from datagridview to sqlserver RRS feed

  • Question

  • hai...,

    How to edit,update data from datagridview to sqlserver in vb2008 pls help me

    ilai


    • Edited by Ms.ilai Wednesday, March 4, 2015 7:05 AM
    Wednesday, March 4, 2015 7:04 AM

Answers

  • Hello,

    I'd ask in Windows Forms General, or in the Visual Basic .Net Language forum on MSDN.

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    • Proposed as answer by Just Karl Friday, May 1, 2015 4:05 PM
    • Marked as answer by Just Karl Tuesday, May 12, 2015 9:27 PM
    Friday, April 24, 2015 9:13 PM
  • Hi Ilai,

    One option you can do via access connection with textbox using code. For details check below link, might be it is helpful to you.

    Note : Always test script on development environment.

    http://www.codeproject.com/Questions/41497/VB-net-How-to-update-database-from-datagridview

    Adnan

    • Proposed as answer by Just Karl Friday, May 1, 2015 4:05 PM
    • Marked as answer by Just Karl Tuesday, May 12, 2015 9:27 PM
    Monday, April 27, 2015 5:36 AM

All replies

  • Hello,

    I'd ask in Windows Forms General, or in the Visual Basic .Net Language forum on MSDN.

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    • Proposed as answer by Just Karl Friday, May 1, 2015 4:05 PM
    • Marked as answer by Just Karl Tuesday, May 12, 2015 9:27 PM
    Friday, April 24, 2015 9:13 PM
  • Hi Ilai,

    One option you can do via access connection with textbox using code. For details check below link, might be it is helpful to you.

    Note : Always test script on development environment.

    http://www.codeproject.com/Questions/41497/VB-net-How-to-update-database-from-datagridview

    Adnan

    • Proposed as answer by Just Karl Friday, May 1, 2015 4:05 PM
    • Marked as answer by Just Karl Tuesday, May 12, 2015 9:27 PM
    Monday, April 27, 2015 5:36 AM