Hi , i have datalist in my page on that i show product images with the help of image field in my sql database that filter the images as per product selection.
<asp:Image ID="Image1" Width="100" Height="100" Runat="Server"
AlternateText='<%# "Picture of " & Eval("image") %>'
ImageUrl='<%# "images/" & Eval("image") & ".jpg" %>' />
my image field contains 1 to 20 no. in series, every pictures in my image folder i give the no. for filtering., so i want to make a page that user can upload their image (only one at a time) to my server that will store on my image folder. now the matter is that when the user select its uploaded file then it's original name change to the no. that comes after 20th no. i.e. it random wise change the name. automatically and when the user not uploading any file and click on submit button it validation display error that you have to upload the image file. i want that all it's done by asp.net not by ajax because i use componentArt and it's not work with asp.net ajax.
so please help me to solve this matter.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
By David Chu in forum .NET
Last Post: 08-16-2006, 10:32 PM
By mmingfeilam in forum ASP.NET
Last Post: 06-21-2006, 08:00 PM
Last Post: 08-12-2002, 10:40 PM
By Cynthia Leslie in forum Java
Last Post: 06-09-2001, 06:43 PM
By Nayan in forum VB Classic
Last Post: 09-29-2000, 10:06 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL