Dec 29, 2012, 10:55 AM
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???