DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: file uploading

  1. #1
    Join Date
    Feb 2008
    Posts
    12

    file uploading

    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.

    regards

    saquib

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    Does this help?
    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

Similar Threads

  1. Replies: 6
    Last Post: 08-16-2006, 10:32 PM
  2. uploading file using html server control
    By mmingfeilam in forum ASP.NET
    Replies: 1
    Last Post: 06-21-2006, 08:00 PM
  3. How long before the next version??
    By _CAG in forum .NET
    Replies: 146
    Last Post: 08-12-2002, 10:40 PM
  4. How to use Java to lock a file
    By Cynthia Leslie in forum Java
    Replies: 3
    Last Post: 06-09-2001, 06:43 PM
  5. Uploading a file to the server using VB
    By Nayan in forum VB Classic
    Replies: 1
    Last Post: 09-29-2000, 10:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links