Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

updating Gridview using C#

4 views
Skip to first unread message

Durango2008

unread,
Feb 5, 2008, 11:38:40 AM2/5/08
to
Hi, I am looking for a way to update a column of gridview fields based on
the value of the first column, basically an auto-fill. I am able to get the
value of the field I need however, I am not able to update the fields
beneath the first row.
I tried using GridViewRow to find the field and change it however it does
not seem to have a method to directly update fields rather retrieve cell
information.
Thank you for any help.


Nicholas Paldino [.NET/C# MVP]

unread,
Feb 5, 2008, 11:54:34 AM2/5/08
to
Durango2008,

Well, you can always set the cell value and then from there, the
underlying data source will be updated. You basically would find the row
that you want to start from, and then cycle through all the rows beyond
that, updating the value as you need to.


--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

"Durango2008" <el_du...@yah00.c0m> wrote in message
news:ki0qj.7094$nK5....@nlpi069.nbdc.sbc.com...

0 new messages