RowUpdating event and UpdateRow method of a GridView

M

MarkusJNZ

Hi, given a gridView that is bound to a DataSet how do I perform the
update??

e.g. I thought I could just to something like this (But obviously, this
enters into an infinate loop).

grdUsers is the name of my gridView

protected void grdUsers_RowUpdating(object sender,
GridViewUpdateEventArgs e)
{
grdUsers.UpdateRow(e.RowIndex, false);
grdUsers.EditIndex = -1;
}

TIA
Markus
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top