title: Jqgrid upload file example
body: <p>I have a jqgrid and I'd like to upload a file, I got the following code</p>
  
  <pre><code> colModel: [
      { name: "id", index:"id", key: true,width: 30,editable: false },
  
      { name: "name", index:"name", width: 100,editable: true },           
      { name: "fileToUpload", 
        editoptions: {
            enctype: "multipart/form-data"
          }, 
          edittype:'file',
          index: 'fileToUpload', 
          width: 150,
          align: "left",
          editable: true },
  ], 
  </code></pre>
  
  <p>and I use the function like in <a href="https://stackoverflow.com/questions/7550304/jqgrid-upload-a-file-in-add-edit-dialog">jqgrid - upload a file in add/edit dialog</a></p>
  
  <p>My problem is that I don't know how to use the url file of the ajaxfileupload function to save this file in a database , Can anyone show me an example?? </p>
  
  <p>Thanks! </p>