How to Update Data in magento Using Model

In Previous post Delete Data from Magento, we have learn delete customer information from magento database using collection. In this article i will describe how to update your data in magento database using magento model and collection method.

Checkout other tutorials of pagination,

Step 1: We will get dataId which we want update.

Step 2:We will create the setdata array which contain the all data filed and its value.

Step 3: We will call magento model method.

Full source code to update Data in Magento Using Model :