Row editing and updating in gridview in asp net

I Take it that without a SQLDatasource thats bound to your gridview, you will have to connect to the database again and update the database manually.

But I cant seem to find any way to do this other than the SQLData Source that is bound to the gridview that does the updating automatically.

If I rebind with old data that was saved in a Session variable, I lose the edited data which I did at the begining. Per kamalchhabra's suggestion it rebinds to nothing. What I'm trying to do in Grid View2_Row Editing() is to dynamically handle row edit because it's not handled statically with Data Source ID attribute.

now bind that Session["data"] to gridview afetr gv. New Edit Index; Per kamalchhabra's suggestion it rebinds to nothing. What I'm trying to do in Grid View2_Row Editing() is to dynamically handle row edit because it's not handled statically with Data Source ID attribute.

Would you like to answer one of these unanswered questions instead?

Could you provide please some code about it or adapt the code of your article?

I am developing a web app in asp.net/trying to simulate a desktop app I developed which needs for editable cells in gridviews where users need for increase/decrease the number of rows/columns, being them all editable.

Search for row editing and updating in gridview in asp net:

row editing and updating in gridview in asp net-77

Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “row editing and updating in gridview in asp net”

  1. The e Harmony Matching System narrows the field from thousands of black singles to match you with a select group of compatible single black men or women with whom you can build relationships that last. We realize it can be a challenge to meet other singles with whom you share common goals, interests, and backgrounds within your geographical area, and e Harmony can help.