updating Gridview using C#

D

Durango2008

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.
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top