Inline Grid Fileupload to SQL server via API

Hi,

I want to create a table where the user can:

1- Click to edit and add a new image file using the SfUploader.

2- Click on the existing image and download it (not required to see the image preview).

The byte[] image is saved to the SQL server and not to a directory. This tutorial was used but I only got so far since it is saving to a directory and not using an API, so I couldn't use the DataSource, (https://www.syncfusion.com/forums/165430/grid-image-upload-within-grid-inline-editing).

Questions:

1- How can the API get the byte information from the SfUploader on edit/add save so it can be added to the database on HttpPut/HttpPost?

2- How can the Signature field download the image when clicked?


Please find all relevant code attached.

Thank you very much!


Attachment: CertApproval_571b031c.zip

1 Reply

MS Monisha Saravanan Syncfusion Team March 28, 2022 04:02 PM UTC

Hi Fransisco, 
  
Greetings from Syncfusion support. 
  
We have analyzed your query and we could see that you are performing CRUD operation using WebApi adaptor. You can use the mentioned forum along with the below UG. Kindly refer the UG for your reference 
  
  
If you still have further issues then kindly share the below details to validate further at our side.  
   
  • Share us whether you have faced any exception while adding/Editing the image.
  • Share us the video demo of the issue.
  • If possible share an issue reproducing sample.
  
The above requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.  
   
Regards,  
Monisha  


Loader.
Up arrow icon