In the refered demo Upload control uploading only one Image but in my question there is ( Multiple Uploaded Files -- InputStream) Loop and then insert statement. Loop is uploading many images.... So refered demo I already impliment so where in my project. Here is my first code.
foreach (UploadedFile f in RadUpload1.UploadedFiles).....
strsql = "insert into images(imid,imagname) values('1','" + f.GetName() + "')";
I can insert many images and it working correct by I am unable to delete and Update there images.
I think i should do like this
foreach (UploadedFile f in RadUpload1.UploadedFiles)
dataquery dq = new dataquery();
strfolder = Server.MapPath("../noon");
f.SaveAs(strfolder + "\\" + f.GetName(), true);
strsql = "Update images imagname='" + f.GetName() + " where id=1 ";
I Know above code is wrong because it is again uploading old images to server Folder "noon"
Also i dont know how to select insert record and show in the upload control.
In Other hand Here is link http://www.telerik.com/help/aspnet-ajax/upload_raduploadmanipulatingfiles.html
Please can you assist me how to write delete and Update querry.
I will be thankfull to you.