Nalaka526
Nalaka526

Reputation: 11484

Why SetEditRow in GridView?

Is there any specific reason to use SetEditRow method in GridView instead of setting the edit index with EditIndex property?

Upvotes: 0

Views: 419

Answers (1)

Justin
Justin

Reputation: 6559

I would use the SetEditRow method for putting a row into edit mode. EditIndex is useful to get which index is currently in edit mode. It is also useful in other situations described in the remarks page.

Upvotes: 1

Related Questions