c# - How to upload image in database using jqgrid with asp.net -
i using jqgrid asp.net 4.0 web form application , want upload image sqlserver database. please suggest right way example. in advance.
colmodel: [ { name: 'imagetoupload', index: 'imageid', align: 'left', editable: true, edittype: 'file', editoptions: { enctype: "multipart/form-data" }, search: false }, } ], beforesubmit: function (postdata, formid) { var complete = false; var message = ""; var namefile = ""; alert("hi"); $.ajaxfileupload({ url: '<%=page.resolveurl("~/master/policymaster.ashx") %>', secureuri: false, fileelementid: 'imagetoupload', datatype: 'json', success: function (data, status) { } }); return [true, message]; },
Comments
Post a Comment