BP Forums
Edit cell of DataGridView - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+----- Forum: Programming Help (https://bpforums.info/forumdisplay.php?fid=9)
+----- Thread: Edit cell of DataGridView (/showthread.php?tid=800)



Edit cell of DataGridView - brco900033 - 08-07-2013

Like the title itself already says: how can I edit a specific cell of a DataGridView (cell set as textbox).

PS: by editing I mean changing the text.

Thanks in advance, Brecht!


Re: Edit cell of DataGridView - brco900033 - 08-13-2013

I figured it out myself and found that it's actually easy... very easy!

Code:
DataGridView1(2, 1).Value = "NewValue"

Maybe it comes in handy for others, so I posted this