image store in database and retrieve

  1. #1

    image store in database and retrieve

    I have a Client table in my database. in which there is one field image, in which the name of the file is stored. Now i want that when i save the data the image should store in image folder of my project and the name of image(filename) should store in database?. How can i do that? Also if i want to edit the data of client then respective client image should display in a panel . i want the image to be display in imagefield

    <ext:Panel ID="Panel1" runat="server" Height="370"  RowSpan="3" Width="300"  Title="Upload Visiting card">
        <Items>
              <ext:Image ID="Image1" runat="server" Height="300" Padding="10">
                        </ext:Image>
            <ext:FileUploadField ID="FileUploadField1" runat="server" FieldLabel="Upload Image" 
            Width="285" LabelWidth="70" >
            </ext:FileUploadField>
        </Items>
    </ext:Panel>
    How can i do that???
  2. #2
    Hi Vaishali,

    This is yash. Can i help you?

    Please show the full example.
  3. #3
    Hi Yash.... I have solved the example by using <asp:fileupload> instead of <ext:fileuploadfield>

Similar Threads

  1. Replies: 8
    Last Post: Oct 05, 2011, 8:52 AM
  2. How to retrieve data from a Store
    By ACustodio in forum 1.x Help
    Replies: 0
    Last Post: Aug 17, 2011, 7:47 PM
  3. retrieve data from database using jsf
    By Rukia in forum 1.x Help
    Replies: 0
    Last Post: Jun 02, 2011, 10:38 PM
  4. Replies: 0
    Last Post: Sep 18, 2009, 8:56 AM
  5. [CLOSED] How to retrieve Store
    By pkellner in forum 1.x Premium Help
    Replies: 5
    Last Post: Oct 03, 2008, 6:18 AM

Tags for this Thread

Posting Permissions