CRUD operations example

Hi Syncfusion support team,


Could you please provide a complete sample project for displaying data in a Syncfusion DataGrid and the functionality of Create new records, Read/Update/Delete old records, i.e. CRUD operations using .Net MAUI and web API ?

Thank you for your time and efforts.



6 Replies

NY Nirmalkumar Yuvaraj Syncfusion Team April 12, 2024 01:07 PM UTC

Hi Amr


We have prepared a sample based on your requirements. The sample utilizes a datagrid that interacts with an API to display data and perform CRUD operations. We have attached the sample for your reference.


Regards,

Nirmalkumar


Attachment: SfDataGridSample_e1cc55fa.zip


AM Amr April 12, 2024 10:55 PM UTC

Hi  Nirmalkumar,


Thank you for your prompt reply and the sample. Will check and come back to you at the earliest.




NY Nirmalkumar Yuvaraj Syncfusion Team April 15, 2024 06:05 AM UTC

Hi Amr


Thanks for the update. We will wait to hear from you. Please test at your end. Also, please let us know if you require any further assistance on this. We will be happy to assist you.


Regards,

Nirmalkumar



AM Amr April 15, 2024 07:59 AM UTC

Hi Nirmalkumar,

Thank you so much. It's very kind of you :)

  1. Could you please update your sample so that the 'Create' process be via a separate Syncfusion form instead of being hard coded?
  2. The 'Update' operation in your sample is using inline editing mode. I'll be appreciated if it would be vai a separate  SF form as well :)
  3. Could you please update the 'Delete' operation to show a confirmation message via a popup screen?


Deeply appreciate your help.

Best regards.

Amr




AM Amr April 18, 2024 10:41 AM UTC

Hi Nirmalkumar,


Any updates regarding my last request on April 15, 2024 ?


Thank you.




NY Nirmalkumar Yuvaraj Syncfusion Team April 18, 2024 11:54 AM UTC

Hi Amr


We found a blog post explaining how to perform CRUD operations in MAUI using SfListView. If needed, you can substitute SfListView with SfDataGrid to fulfill your requirements. If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.


Regards,

Nirmalkumar


Loader.
Up arrow icon