Author: asihakatan | Posted on: 4/20/2010 11:25:08 AM | Views : 237

Hi I'm trying to craete an upload form using the following code:

<form id="form1" runat="server">
<div>

<asp:FormView
id="frmImage"
DataSourceID="srcImages"
DefaultMode="Insert"
Runat="server">
<InsertItemTemplate>
<asp:Label
id="lblImage"
Text="Upload Image:"
AssociatedControlId="upImage"
Runat="server" />

<br />
<asp:FileUpload
id="upImage"
FileBytes='<%# Bind("Image") %>'
runat="server" />
<br /> <br />
<asp:Label
id="lblDescription"
Text="Description:"
AssociatedControlID="txtDescription&quo ...

Go to the complete details ...