foreach (UploadedFile f in RadUpload1.UploadedFiles)
{
string strfolder;
dataquery dq = new dataquery();
string strsql;
strfolder = Server.MapPath("../noon");
f.SaveAs(strfolder + "\\" + f.GetName(), true);
strsql = "insert into images(imid,imagname) values('1','" + f.GetName() + "')";
dq.ExecuteQuery(strsql);
}
Now i want to update my record and images. but i do't know how to show images in the Radupload control or then i what to write code for update.
Please can you see my above code and help me to write update code and select record images in the Radupload. I am not using Radgrid.
Thank you so much for help.

<CommandItemTemplate> <telerik:RadToolBar runat="server" ID="RadToolBar1" OnButtonClick="RadToolBar1_ButtonClick Skin="WebBlue"> <Items> <telerik:RadToolBarButton Text="Apply filter" CommandName="FilterRadGrid" ImageUrl="~/Images/Refresh.gif"/> <telerik:RadToolBarButton Text="Add new" CommandName="xInsert" ImageUrl="~/Images/AddRecord.gif" /> </Items> </telerik:RadToolBar> </CommandItemTemplate>Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As GridCommandEventArgs) If e.CommandName = "FilterRadGrid" Then RadFilter1.FireApplyCommand() Else If e.CommandName = "xInsert" Then Dim newWindow As New Telerik.Web.UI.RadWindow() newWindow.ID = "InsertWindow" newWindow.NavigateUrl = "~/XDW/EditPalletQty.aspx" newWindow.VisibleOnPageLoad = True RadWindowManager1.Windows.Add(newWindow) End If End If End SubPosted 21 hours ago (permalink)
