Assigning/Updating values to DataTable
- From: "Jeff" <no_one@xxxxxxxxxx>
- Date: Fri, 20 Apr 2007 18:08:04 -0500
in VStudio 2005 visual basic.net
How do I change a single value in a single cell in a datatable that already
exists.
E.g.,
Dim MyTable As New DataTable
<code that reads from a db and places it into MyTable>
MyTable.Rows(0)(0) = <whatever> <- this, obviously, doesn't work, but
what will?
More specifically, lets say that I need to place 1 into row 0 column 0
Will the same code work if the Table is currently all null values?
Thanks
Jeff
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: Assigning/Updating values to DataTable
- From: Cor Ligthert [MVP]
- Re: Assigning/Updating values to DataTable
- Prev by Date: Re: IE7 hangs with Click Once deployment VS2005 - any fixes?
- Next by Date: Re: Need urgent Active Directory / asp.net help
- Previous by thread: Re: IE7 hangs with Click Once deployment VS2005 - any fixes?
- Next by thread: Re: Assigning/Updating values to DataTable
- Index(es):