Requirement:

1. Application will start and DataGrid will be filled with records from Database (MySQL)
2. There will some plain text columns and there will be some columns which will be Combo box (with values as per database)
3. User can change the values in plain TEXT simply by typing the values
4. User can change the values in Combo box just simply by selecting the value from Drop Down List
5. Once done data will be saved back to DB
6. In case of any changes in Grid Data there will be warning before closing the form (in case of unsaved Data)

I need sample code for this urgently